diff --git a/discovery/accessapproval-v1.json b/discovery/accessapproval-v1.json index c0b25549451..52eda436dd4 100644 --- a/discovery/accessapproval-v1.json +++ b/discovery/accessapproval-v1.json @@ -913,7 +913,7 @@ } } }, - "revision": "20250912", + "revision": "20251015", "rootUrl": "https://accessapproval.googleapis.com/", "schemas": { "AccessApprovalServiceAccount": { @@ -1336,7 +1336,9 @@ "ML_KEM_768", "ML_KEM_1024", "KEM_XWING", + "PQ_SIGN_ML_DSA_44", "PQ_SIGN_ML_DSA_65", + "PQ_SIGN_ML_DSA_87", "PQ_SIGN_SLH_DSA_SHA2_128S", "PQ_SIGN_HASH_SLH_DSA_SHA2_128S_SHA256" ], @@ -1380,7 +1382,9 @@ "ML-KEM-768 (FIPS 203)", "ML-KEM-1024 (FIPS 203)", "X-Wing hybrid KEM combining ML-KEM-768 with X25519 following datatracker.ietf.org/doc/draft-connolly-cfrg-xwing-kem/.", + "The post-quantum Module-Lattice-Based Digital Signature Algorithm, at security level 1. Randomized version.", "The post-quantum Module-Lattice-Based Digital Signature Algorithm, at security level 3. Randomized version.", + "The post-quantum Module-Lattice-Based Digital Signature Algorithm, at security level 5. Randomized version.", "The post-quantum stateless hash-based digital signature algorithm, at security level 1. Randomized version.", "The post-quantum stateless hash-based digital signature algorithm, at security level 1. Randomized pre-hash version supporting SHA256 digests." ], diff --git a/discovery/aiplatform-v1.json b/discovery/aiplatform-v1.json index a8a97864749..10cf6bf1498 100644 --- a/discovery/aiplatform-v1.json +++ b/discovery/aiplatform-v1.json @@ -238,6 +238,11 @@ "description": "Regional Endpoint", "endpointUrl": "https://aiplatform.eu.rep.googleapis.com/", "location": "eu" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://staging-aiplatform.us.rep.sandbox.googleapis.com/", + "location": "us" } ], "fullyEncodeReservedExpansion": true, @@ -2061,6 +2066,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1/{+name}/operations", @@ -2376,6 +2386,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1/{+name}/operations", @@ -2891,6 +2906,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1/{+name}/operations", @@ -3156,6 +3176,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1/{+name}/operations", @@ -3309,6 +3334,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1/{+name}/operations", @@ -3661,6 +3691,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1/{+name}/operations", @@ -3893,6 +3928,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1/{+name}/operations", @@ -4236,6 +4276,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1/{+name}/operations", @@ -5214,6 +5259,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1/{+name}/operations", @@ -6257,6 +6307,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1/{+name}:wait", @@ -6385,6 +6440,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1/{+name}:wait", @@ -6813,6 +6873,34 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "generateFetchAccessToken": { + "description": "RPC to generate an access token for the given feature view. FeatureViews under the same FeatureOnlineStore share the same access token.", + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featureOnlineStores/{featureOnlineStoresId}/featureViews/{featureViewsId}:generateFetchAccessToken", + "httpMethod": "POST", + "id": "aiplatform.projects.locations.featureOnlineStores.featureViews.generateFetchAccessToken", + "parameterOrder": [ + "featureView" + ], + "parameters": { + "featureView": { + "description": "FeatureView resource format `projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineStore}/featureViews/{featureView}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/featureOnlineStores/[^/]+/featureViews/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1/{+featureView}:generateFetchAccessToken", + "request": { + "$ref": "GoogleCloudAiplatformV1GenerateFetchAccessTokenRequest" + }, + "response": { + "$ref": "GoogleCloudAiplatformV1GenerateFetchAccessTokenResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "get": { "description": "Gets details of a single FeatureView.", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/featureOnlineStores/{featureOnlineStoresId}/featureViews/{featureViewsId}", @@ -7224,6 +7312,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1/{+name}:wait", @@ -7352,6 +7445,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1/{+name}:wait", @@ -8485,6 +8583,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1/{+name}/operations", @@ -8638,6 +8741,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1/{+name}/operations", @@ -8791,6 +8899,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1/{+name}/operations", @@ -9101,6 +9214,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1/{+name}/operations", @@ -9557,6 +9675,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1/{+name}/operations", @@ -9929,6 +10052,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1/{+name}/operations", @@ -10452,6 +10580,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1/{+name}/operations", @@ -10924,6 +11057,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1/{+name}/operations", @@ -11335,6 +11473,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1/{+name}/operations", @@ -11591,6 +11734,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1/{+name}/operations", @@ -11804,6 +11952,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1/{+name}/operations", @@ -12204,6 +12357,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1/{+name}/operations", @@ -12944,6 +13102,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1/{+name}/operations", @@ -13201,6 +13364,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1/{+name}/operations", @@ -13742,6 +13910,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1/{+name}/operations", @@ -14158,6 +14331,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1/{+name}/operations", @@ -14529,6 +14707,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1/{+name}/operations", @@ -14682,6 +14865,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1/{+name}/operations", @@ -15018,6 +15206,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1/{+name}/operations", @@ -15394,6 +15587,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1/{+name}/operations", @@ -15994,6 +16192,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1/{+name}/operations", @@ -16268,6 +16471,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1/{+name}/operations", @@ -16425,6 +16633,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1/{+name}/operations", @@ -16796,6 +17009,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1/{+name}/operations", @@ -17167,6 +17385,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1/{+name}/operations", @@ -17483,6 +17706,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1/{+name}/operations", @@ -17782,6 +18010,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1/{+name}/operations", @@ -18219,6 +18452,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1/{+name}/operations", @@ -18856,6 +19094,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1/{+name}/operations", @@ -19238,6 +19481,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1/{+name}/operations", @@ -19661,6 +19909,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1/{+name}/operations", @@ -19818,6 +20071,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1/{+name}/operations", @@ -20128,6 +20386,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1/{+name}/operations", @@ -20435,6 +20698,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1/{+name}/operations", @@ -20930,7 +21198,7 @@ } } }, - "revision": "20250926", + "revision": "20251003", "rootUrl": "https://aiplatform.googleapis.com/", "schemas": { "CloudAiLargeModelsVisionGenerateVideoResponse": { @@ -23056,7 +23324,8 @@ "IMAGE_PROHIBITED_CONTENT", "IMAGE_RECITATION", "IMAGE_OTHER", - "UNEXPECTED_TOOL_CALL" + "UNEXPECTED_TOOL_CALL", + "NO_IMAGE" ], "enumDescriptions": [ "The finish reason is unspecified.", @@ -23074,7 +23343,8 @@ "Image generation stopped because generated images has other prohibited content.", "Image generation stopped due to recitation.", "Image generation stopped because of other miscellaneous issue.", - "The function call generated by the model is semantically invalid (e.g. a function call is generated when function calling is not enabled or the function is not in the function declaration)." + "The function call generated by the model is semantically invalid (e.g. a function call is generated when function calling is not enabled or the function is not in the function declaration).", + "The model was expected to generate an image, but none was generated." ], "readOnly": true, "type": "string" @@ -25249,6 +25519,13 @@ "description": "Optional. Immutable. The ID to use for endpoint, which will become the final component of the endpoint resource name. If not provided, Vertex AI will generate a value for this ID. If the first character is a letter, this value may be up to 63 characters, and valid characters are `[a-z0-9-]`. The last character must be a letter or number. If the first character is a number, this value may be up to 9 characters, and valid characters are `[0-9]` with no leading zeros. When using HTTP/JSON, this field is populated based on a query string argument, such as `?endpoint_id=12345`. This is the fallback for fields that are not included in either the URI or the body.", "type": "string" }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. The labels with user-defined metadata to organize your Endpoints. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels.", + "type": "object" + }, "privateServiceConnectConfig": { "$ref": "GoogleCloudAiplatformV1PrivateServiceConnectConfig", "description": "Optional. Configuration for private service connect. If set, the endpoint will be exposed through private service connect." @@ -25336,7 +25613,7 @@ "type": "string" }, "deploymentTier": { - "description": "Optional. The deployment tier that the index is deployed to. DEPLOYMENT_TIER_UNSPECIFIED defaults to PERFORMANCE.", + "description": "Optional. The deployment tier that the index is deployed to. DEPLOYMENT_TIER_UNSPECIFIED will use a system-chosen default tier.", "enum": [ "DEPLOYMENT_TIER_UNSPECIFIED", "STORAGE" @@ -25917,6 +26194,28 @@ "description": "Tool to search public web data, powered by Vertex AI Search and Sec4 compliance.", "id": "GoogleCloudAiplatformV1EnterpriseWebSearch", "properties": { + "blockingConfidence": { + "description": "Optional. Sites with confidence level chosen & above this value will be blocked from the search results.", + "enum": [ + "PHISH_BLOCK_THRESHOLD_UNSPECIFIED", + "BLOCK_LOW_AND_ABOVE", + "BLOCK_MEDIUM_AND_ABOVE", + "BLOCK_HIGH_AND_ABOVE", + "BLOCK_HIGHER_AND_ABOVE", + "BLOCK_VERY_HIGH_AND_ABOVE", + "BLOCK_ONLY_EXTREMELY_HIGH" + ], + "enumDescriptions": [ + "Defaults to unspecified.", + "Blocks Low and above confidence URL that is risky.", + "Blocks Medium and above confidence URL that is risky.", + "Blocks High and above confidence URL that is risky.", + "Blocks Higher and above confidence URL that is risky.", + "Blocks Very high and above confidence URL that is risky.", + "Blocks Extremely high confidence URL that is risky." + ], + "type": "string" + }, "excludeDomains": { "description": "Optional. List of domains to be excluded from the search results. The default limit is 2000 domains.", "items": { @@ -26949,7 +27248,7 @@ "description": "Optional. Generation config." }, "model": { - "description": "Required. The fully qualified name of the publisher model or endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}`", + "description": "Optional. The fully qualified name of the publisher model or endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}`", "type": "string" } }, @@ -28660,6 +28959,15 @@ "autoScaling": { "$ref": "GoogleCloudAiplatformV1FeatureOnlineStoreBigtableAutoScaling", "description": "Required. Autoscaling config applied to Bigtable Instance." + }, + "bigtableMetadata": { + "$ref": "GoogleCloudAiplatformV1FeatureOnlineStoreBigtableBigtableMetadata", + "description": "Output only. Metadata of the Bigtable instance. Output only.", + "readOnly": true + }, + "enableDirectBigtableAccess": { + "description": "Optional. It true, enable direct access to the Bigtable instance.", + "type": "boolean" } }, "type": "object" @@ -28685,6 +28993,25 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1FeatureOnlineStoreBigtableBigtableMetadata": { + "description": "Metadata of the Bigtable instance. This is used by direct read access to the Bigtable in tenant project.", + "id": "GoogleCloudAiplatformV1FeatureOnlineStoreBigtableBigtableMetadata", + "properties": { + "instanceId": { + "description": "The Cloud Bigtable instance id.", + "type": "string" + }, + "tableId": { + "description": "The Cloud Bigtable table id.", + "type": "string" + }, + "tenantProjectId": { + "description": "Tenant project ID.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudAiplatformV1FeatureOnlineStoreDedicatedServingEndpoint": { "description": "The dedicated serving endpoint for this FeatureOnlineStore. Only need to set when you choose Optimized storage type. Public endpoint is provisioned by default.", "id": "GoogleCloudAiplatformV1FeatureOnlineStoreDedicatedServingEndpoint", @@ -28870,6 +29197,11 @@ "$ref": "GoogleCloudAiplatformV1FeatureViewBigQuerySource", "description": "Optional. Configures how data is supposed to be extracted from a BigQuery source to be loaded onto the FeatureOnlineStore." }, + "bigtableMetadata": { + "$ref": "GoogleCloudAiplatformV1FeatureViewBigtableMetadata", + "description": "Output only. Metadata containing information about the Cloud Bigtable.", + "readOnly": true + }, "createTime": { "description": "Output only. Timestamp when this FeatureView was created.", "format": "google-datetime", @@ -28966,6 +29298,18 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1FeatureViewBigtableMetadata": { + "description": "Metadata for the Cloud Bigtable that supports directly interacting Bigtable instances.", + "id": "GoogleCloudAiplatformV1FeatureViewBigtableMetadata", + "properties": { + "readAppProfile": { + "description": "Output only. The Bigtable App Profile to use for reading from Bigtable.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudAiplatformV1FeatureViewDataKey": { "description": "Lookup key for a feature view.", "id": "GoogleCloudAiplatformV1FeatureViewDataKey", @@ -30186,7 +30530,8 @@ "BLOCKLIST", "PROHIBITED_CONTENT", "MODEL_ARMOR", - "IMAGE_SAFETY" + "IMAGE_SAFETY", + "JAILBREAK" ], "enumDescriptions": [ "The blocked reason is unspecified.", @@ -30195,7 +30540,8 @@ "The prompt was blocked because it contains a term from the terminology blocklist.", "The prompt was blocked because it contains prohibited content.", "The prompt was blocked by Model Armor.", - "The prompt was blocked because it contains content that is unsafe for image generation." + "The prompt was blocked because it contains content that is unsafe for image generation.", + "The prompt was blocked as a jailbreak attempt." ], "readOnly": true, "type": "string" @@ -30303,6 +30649,28 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1GenerateFetchAccessTokenRequest": { + "description": "Request message for FeatureOnlineStoreService.GenerateFetchAccessToken.", + "id": "GoogleCloudAiplatformV1GenerateFetchAccessTokenRequest", + "properties": {}, + "type": "object" + }, + "GoogleCloudAiplatformV1GenerateFetchAccessTokenResponse": { + "description": "Response message for FeatureOnlineStoreService.GenerateFetchAccessToken.", + "id": "GoogleCloudAiplatformV1GenerateFetchAccessTokenResponse", + "properties": { + "accessToken": { + "description": "The OAuth 2.0 access token.", + "type": "string" + }, + "expireTime": { + "description": "Token expiration time. This is always set", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudAiplatformV1GenerateInstanceRubricsRequest": { "description": "Request message for EvaluationService.GenerateInstanceRubrics.", "id": "GoogleCloudAiplatformV1GenerateInstanceRubricsRequest", @@ -30459,6 +30827,10 @@ "format": "float", "type": "number" }, + "imageConfig": { + "$ref": "GoogleCloudAiplatformV1ImageConfig", + "description": "Optional. Config for image generation features." + }, "logprobs": { "description": "Optional. Logit probabilities.", "format": "int32", @@ -31159,6 +31531,17 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1ImageConfig": { + "description": "Config for image generation features.", + "id": "GoogleCloudAiplatformV1ImageConfig", + "properties": { + "aspectRatio": { + "description": "Optional. The desired aspect ratio for the generated images. The following aspect ratios are supported: \"1:1\" \"2:3\", \"3:2\" \"3:4\", \"4:3\" \"4:5\", \"5:4\" \"9:16\", \"16:9\" \"21:9\"", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudAiplatformV1ImportDataConfig": { "description": "Describes the location from where we import data into a Dataset, together with the labels that will be applied to the DataItems and the Annotations.", "id": "GoogleCloudAiplatformV1ImportDataConfig", @@ -35078,6 +35461,20 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1MultiSpeakerVoiceConfig": { + "description": "Configuration for a multi-speaker text-to-speech setup. Enables the use of up to two distinct voices in a single synthesis request.", + "id": "GoogleCloudAiplatformV1MultiSpeakerVoiceConfig", + "properties": { + "speakerVoiceConfigs": { + "description": "Required. A list of configurations for the voices of the speakers. Exactly two speaker voice configurations must be provided.", + "items": { + "$ref": "GoogleCloudAiplatformV1SpeakerVoiceConfig" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudAiplatformV1MutateDeployedIndexOperationMetadata": { "description": "Runtime operation information for IndexEndpointService.MutateDeployedIndex.", "id": "GoogleCloudAiplatformV1MutateDeployedIndexOperationMetadata", @@ -37593,6 +37990,26 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1PreTunedModel": { + "description": "A pre-tuned model for continuous tuning.", + "id": "GoogleCloudAiplatformV1PreTunedModel", + "properties": { + "baseModel": { + "description": "Output only. The name of the base model this PreTunedModel was tuned from.", + "readOnly": true, + "type": "string" + }, + "checkpointId": { + "description": "Optional. The source checkpoint id. If not specified, the default checkpoint will be used.", + "type": "string" + }, + "tunedModelName": { + "description": "The resource name of the Model. E.g., a model resource name with a specified version id or alias: `projects/{project}/locations/{location}/models/{model}@{version_id}` `projects/{project}/locations/{location}/models/{model}@{alias}` Or, omit the version id to use the default version: `projects/{project}/locations/{location}/models/{model}`", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudAiplatformV1PrebuiltVoiceConfig": { "description": "The configuration for the prebuilt speaker to use.", "id": "GoogleCloudAiplatformV1PrebuiltVoiceConfig", @@ -40613,7 +41030,8 @@ "HARM_CATEGORY_IMAGE_HATE", "HARM_CATEGORY_IMAGE_DANGEROUS_CONTENT", "HARM_CATEGORY_IMAGE_HARASSMENT", - "HARM_CATEGORY_IMAGE_SEXUALLY_EXPLICIT" + "HARM_CATEGORY_IMAGE_SEXUALLY_EXPLICIT", + "HARM_CATEGORY_JAILBREAK" ], "enumDeprecated": [ false, @@ -40625,6 +41043,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -40637,7 +41056,8 @@ "The harm category is image hate.", "The harm category is image dangerous content.", "The harm category is image harassment.", - "The harm category is image sexually explicit content." + "The harm category is image sexually explicit content.", + "The harm category is for jailbreak prompts." ], "readOnly": true, "type": "string" @@ -40756,7 +41176,8 @@ "HARM_CATEGORY_IMAGE_HATE", "HARM_CATEGORY_IMAGE_DANGEROUS_CONTENT", "HARM_CATEGORY_IMAGE_HARASSMENT", - "HARM_CATEGORY_IMAGE_SEXUALLY_EXPLICIT" + "HARM_CATEGORY_IMAGE_SEXUALLY_EXPLICIT", + "HARM_CATEGORY_JAILBREAK" ], "enumDeprecated": [ false, @@ -40768,6 +41189,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -40780,7 +41202,8 @@ "The harm category is image hate.", "The harm category is image dangerous content.", "The harm category is image harassment.", - "The harm category is image sexually explicit content." + "The harm category is image sexually explicit content.", + "The harm category is for jailbreak prompts." ], "type": "string" }, @@ -45822,6 +46245,21 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1SpeakerVoiceConfig": { + "description": "Configuration for a single speaker in a multi speaker setup.", + "id": "GoogleCloudAiplatformV1SpeakerVoiceConfig", + "properties": { + "speaker": { + "description": "Required. The name of the speaker. This should be the same as the speaker name used in the prompt.", + "type": "string" + }, + "voiceConfig": { + "$ref": "GoogleCloudAiplatformV1VoiceConfig", + "description": "Required. The configuration for the voice of this speaker." + } + }, + "type": "object" + }, "GoogleCloudAiplatformV1SpecialistPool": { "description": "SpecialistPool represents customers' own workforce to work on their data labeling jobs. It includes a group of specialist managers and workers. Managers are responsible for managing the workers in this pool as well as customers' data labeling jobs associated with this pool. Customers create specialist pool as well as start data labeling jobs on Cloud, managers and workers handle the jobs using CrowdCompute console.", "id": "GoogleCloudAiplatformV1SpecialistPool", @@ -45916,6 +46354,10 @@ "description": "Optional. Language code (ISO 639. e.g. en-US) for the speech synthesization.", "type": "string" }, + "multiSpeakerVoiceConfig": { + "$ref": "GoogleCloudAiplatformV1MultiSpeakerVoiceConfig", + "description": "The configuration for a multi-speaker text-to-speech request. This field is mutually exclusive with `voice_config`." + }, "voiceConfig": { "$ref": "GoogleCloudAiplatformV1VoiceConfig", "description": "The configuration for the speaker to use." @@ -47948,6 +48390,28 @@ "description": "GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google.", "id": "GoogleCloudAiplatformV1ToolGoogleSearch", "properties": { + "blockingConfidence": { + "description": "Optional. Sites with confidence level chosen & above this value will be blocked from the search results.", + "enum": [ + "PHISH_BLOCK_THRESHOLD_UNSPECIFIED", + "BLOCK_LOW_AND_ABOVE", + "BLOCK_MEDIUM_AND_ABOVE", + "BLOCK_HIGH_AND_ABOVE", + "BLOCK_HIGHER_AND_ABOVE", + "BLOCK_VERY_HIGH_AND_ABOVE", + "BLOCK_ONLY_EXTREMELY_HIGH" + ], + "enumDescriptions": [ + "Defaults to unspecified.", + "Blocks Low and above confidence URL that is risky.", + "Blocks Medium and above confidence URL that is risky.", + "Blocks High and above confidence URL that is risky.", + "Blocks Higher and above confidence URL that is risky.", + "Blocks Very high and above confidence URL that is risky.", + "Blocks Extremely high confidence URL that is risky." + ], + "type": "string" + }, "excludeDomains": { "description": "Optional. List of domains to be excluded from the search results. The default limit is 2000 domains. Example: [\"amazon.com\", \"facebook.com\"].", "items": { @@ -48851,7 +49315,7 @@ "type": "string" }, "model": { - "description": "Output only. The resource name of the TunedModel. Format: `projects/{project}/locations/{location}/models/{model}@{version_id}` When tuning from a base model, the version_id will be 1. For continuous tuning, the version id will be incremented by 1 from the last version id in the parent model. E.g., `projects/{project}/locations/{location}/models/{model}@{last_version_id + 1}`", + "description": "Output only. The resource name of the TunedModel. Format: `projects/{project}/locations/{location}/models/{model}@{version_id}` When tuning from a base model, the version ID will be 1. For continuous tuning, if the provided tuned_model_display_name is set and different from parent model's display name, the tuned model will have a new parent model with version 1. Otherwise the version id will be incremented by 1 from the last version ID in the parent model. E.g., `projects/{project}/locations/{location}/models/{model}@{last_version_id + 1}`", "readOnly": true, "type": "string" } @@ -48963,6 +49427,10 @@ "readOnly": true, "type": "string" }, + "preTunedModel": { + "$ref": "GoogleCloudAiplatformV1PreTunedModel", + "description": "The pre-tuned model for continuous tuning." + }, "serviceAccount": { "description": "The service account that the tuningJob workload runs as. If not specified, the Vertex AI Secure Fine-Tuned Service Agent in the project will be used. See https://cloud.google.com/iam/docs/service-agents#vertex-ai-secure-fine-tuning-service-agent Users starting the pipeline must have the `iam.serviceAccounts.actAs` permission on this service account.", "type": "string" @@ -49016,7 +49484,7 @@ "readOnly": true }, "tunedModelDisplayName": { - "description": "Optional. The display name of the TunedModel. The name can be up to 128 characters long and can consist of any UTF-8 characters.", + "description": "Optional. The display name of the TunedModel. The name can be up to 128 characters long and can consist of any UTF-8 characters. For continuous tuning, tuned_model_display_name will by default use the same display name as the pre-tuned model. If a new display name is provided, the tuning job will create a new model instead of a new version.", "type": "string" }, "tuningDataStats": { @@ -49931,6 +50399,13 @@ "$ref": "GoogleLongrunningOperation" }, "type": "array" + }, + "unreachable": { + "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.", + "items": { + "type": "string" + }, + "type": "array" } }, "type": "object" diff --git a/discovery/aiplatform-v1beta1.json b/discovery/aiplatform-v1beta1.json index 5fb8bb7c630..36798999194 100644 --- a/discovery/aiplatform-v1beta1.json +++ b/discovery/aiplatform-v1beta1.json @@ -238,6 +238,11 @@ "description": "Regional Endpoint", "endpointUrl": "https://aiplatform.eu.rep.googleapis.com/", "location": "eu" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://staging-aiplatform.us.rep.sandbox.googleapis.com/", + "location": "us" } ], "fullyEncodeReservedExpansion": true, @@ -1708,6 +1713,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -1863,6 +1873,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -2482,6 +2497,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -2797,6 +2817,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -3368,6 +3393,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -3633,6 +3663,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -3786,6 +3821,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -4138,6 +4178,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -4370,6 +4415,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -4713,6 +4763,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -4868,6 +4923,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -5932,6 +5992,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -6188,6 +6253,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -6472,6 +6542,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -6762,6 +6837,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -6892,6 +6972,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -7343,6 +7428,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -7498,6 +7588,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -7870,6 +7965,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -8536,6 +8636,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -8889,6 +8994,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -9017,6 +9127,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -9445,6 +9560,34 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "generateFetchAccessToken": { + "description": "RPC to generate an access token for the given feature view. FeatureViews under the same FeatureOnlineStore share the same access token.", + "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/featureOnlineStores/{featureOnlineStoresId}/featureViews/{featureViewsId}:generateFetchAccessToken", + "httpMethod": "POST", + "id": "aiplatform.projects.locations.featureOnlineStores.featureViews.generateFetchAccessToken", + "parameterOrder": [ + "featureView" + ], + "parameters": { + "featureView": { + "description": "FeatureView resource format `projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineStore}/featureViews/{featureView}`", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/featureOnlineStores/[^/]+/featureViews/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1beta1/{+featureView}:generateFetchAccessToken", + "request": { + "$ref": "GoogleCloudAiplatformV1beta1GenerateFetchAccessTokenRequest" + }, + "response": { + "$ref": "GoogleCloudAiplatformV1beta1GenerateFetchAccessTokenResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "get": { "description": "Gets details of a single FeatureView.", "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/featureOnlineStores/{featureOnlineStoresId}/featureViews/{featureViewsId}", @@ -9884,6 +10027,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -10012,6 +10160,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -11157,6 +11310,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -11310,6 +11468,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -11463,6 +11626,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -11773,6 +11941,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -12229,6 +12402,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -12629,6 +12807,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -13152,6 +13335,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -13624,6 +13812,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -14035,6 +14228,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -14291,6 +14489,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -14504,6 +14707,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -14904,6 +15112,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -15420,6 +15633,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -16155,6 +16373,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -16412,6 +16635,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -17009,6 +17237,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -17425,6 +17658,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -17852,6 +18090,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -18005,6 +18248,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -18341,6 +18589,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -18717,6 +18970,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -19438,6 +19696,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -19712,6 +19975,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -19869,6 +20137,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -20925,6 +21198,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -21078,6 +21356,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -21380,6 +21663,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -21768,6 +22056,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -22141,6 +22434,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -22271,6 +22569,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -22556,6 +22859,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -22855,6 +23163,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -23292,6 +23605,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -23925,6 +24243,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -24305,6 +24628,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -24724,6 +25052,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -24881,6 +25214,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -25191,6 +25529,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -26923,7 +27266,7 @@ } } }, - "revision": "20250926", + "revision": "20251003", "rootUrl": "https://aiplatform.googleapis.com/", "schemas": { "CloudAiLargeModelsVisionGenerateVideoResponse": { @@ -29320,7 +29663,8 @@ "IMAGE_PROHIBITED_CONTENT", "IMAGE_RECITATION", "IMAGE_OTHER", - "UNEXPECTED_TOOL_CALL" + "UNEXPECTED_TOOL_CALL", + "NO_IMAGE" ], "enumDescriptions": [ "The finish reason is unspecified.", @@ -29338,7 +29682,8 @@ "Image generation stopped because generated images has other prohibited content.", "Image generation stopped due to recitation.", "Image generation stopped because of other miscellaneous issue.", - "The function call generated by the model is semantically invalid (e.g. a function call is generated when function calling is not enabled or the function is not in the function declaration)." + "The function call generated by the model is semantically invalid (e.g. a function call is generated when function calling is not enabled or the function is not in the function declaration).", + "The model was expected to generate an image, but none was generated." ], "readOnly": true, "type": "string" @@ -31420,6 +31765,11 @@ "$ref": "GoogleCloudAiplatformV1beta1FlexStart", "description": "Optional. Immutable. If set, use DWS resource to schedule the deployment workload. reference: (https://cloud.google.com/blog/products/compute/introducing-dynamic-workload-scheduler)" }, + "initialReplicaCount": { + "description": "Immutable. Number of initial replicas being deployed on when scaling the workload up from zero or when creating the workload in case min_replica_count = 0. When min_replica_count > 0 (meaning that the scale-to-zero feature is not enabled), initial_replica_count should not be set. When min_replica_count = 0 (meaning that the scale-to-zero feature is enabled), initial_replica_count should be larger than zero, but no greater than max_replica_count.", + "format": "int32", + "type": "integer" + }, "machineSpec": { "$ref": "GoogleCloudAiplatformV1beta1MachineSpec", "description": "Required. Immutable. The specification of a single machine being used." @@ -31439,6 +31789,10 @@ "format": "int32", "type": "integer" }, + "scaleToZeroSpec": { + "$ref": "GoogleCloudAiplatformV1beta1DedicatedResourcesScaleToZeroSpec", + "description": "Optional. Specification for scale-to-zero feature." + }, "spot": { "description": "Optional. If true, schedule the deployment workload on [spot VMs](https://cloud.google.com/kubernetes-engine/docs/concepts/spot-vms).", "type": "boolean" @@ -31446,6 +31800,23 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1beta1DedicatedResourcesScaleToZeroSpec": { + "description": "Specification for scale-to-zero feature.", + "id": "GoogleCloudAiplatformV1beta1DedicatedResourcesScaleToZeroSpec", + "properties": { + "idleScaledownPeriod": { + "description": "Optional. Duration of no traffic before scaling to zero. [MinValue=3600] (5 minutes) [MaxValue=28800] (8 hours)", + "format": "google-duration", + "type": "string" + }, + "minScaleupPeriod": { + "description": "Optional. Minimum duration that a deployment will be scaled up before traffic is evaluated for potential scale-down. [MinValue=300] (5 minutes) [MaxValue=28800] (8 hours)", + "format": "google-duration", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudAiplatformV1beta1DeleteFeatureValuesOperationMetadata": { "description": "Details of operations that delete Feature values.", "id": "GoogleCloudAiplatformV1beta1DeleteFeatureValuesOperationMetadata", @@ -31805,6 +32176,13 @@ "description": "Optional. Immutable. The ID to use for endpoint, which will become the final component of the endpoint resource name. If not provided, Vertex AI will generate a value for this ID. If the first character is a letter, this value may be up to 63 characters, and valid characters are `[a-z0-9-]`. The last character must be a letter or number. If the first character is a number, this value may be up to 9 characters, and valid characters are `[0-9]` with no leading zeros. When using HTTP/JSON, this field is populated based on a query string argument, such as `?endpoint_id=12345`. This is the fallback for fields that are not included in either the URI or the body.", "type": "string" }, + "labels": { + "additionalProperties": { + "type": "string" + }, + "description": "Optional. The labels with user-defined metadata to organize your Endpoints. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels.", + "type": "object" + }, "privateServiceConnectConfig": { "$ref": "GoogleCloudAiplatformV1beta1PrivateServiceConnectConfig", "description": "Optional. Configuration for private service connect. If set, the endpoint will be exposed through private service connect." @@ -31881,7 +32259,7 @@ "type": "string" }, "deploymentTier": { - "description": "Optional. The deployment tier that the index is deployed to. DEPLOYMENT_TIER_UNSPECIFIED defaults to PERFORMANCE.", + "description": "Optional. The deployment tier that the index is deployed to. DEPLOYMENT_TIER_UNSPECIFIED will use a system-chosen default tier.", "enum": [ "DEPLOYMENT_TIER_UNSPECIFIED", "STORAGE" @@ -32597,6 +32975,28 @@ "description": "Tool to search public web data, powered by Vertex AI Search and Sec4 compliance.", "id": "GoogleCloudAiplatformV1beta1EnterpriseWebSearch", "properties": { + "blockingConfidence": { + "description": "Optional. Sites with confidence level chosen & above this value will be blocked from the search results.", + "enum": [ + "PHISH_BLOCK_THRESHOLD_UNSPECIFIED", + "BLOCK_LOW_AND_ABOVE", + "BLOCK_MEDIUM_AND_ABOVE", + "BLOCK_HIGH_AND_ABOVE", + "BLOCK_HIGHER_AND_ABOVE", + "BLOCK_VERY_HIGH_AND_ABOVE", + "BLOCK_ONLY_EXTREMELY_HIGH" + ], + "enumDescriptions": [ + "Defaults to unspecified.", + "Blocks Low and above confidence URL that is risky.", + "Blocks Medium and above confidence URL that is risky.", + "Blocks High and above confidence URL that is risky.", + "Blocks Higher and above confidence URL that is risky.", + "Blocks Very high and above confidence URL that is risky.", + "Blocks Extremely high confidence URL that is risky." + ], + "type": "string" + }, "excludeDomains": { "description": "Optional. List of domains to be excluded from the search results. The default limit is 2000 domains.", "items": { @@ -33695,7 +34095,7 @@ "description": "Optional. Generation config." }, "model": { - "description": "Required. The fully qualified name of the publisher model or endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}`", + "description": "Optional. The fully qualified name of the publisher model or endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*/models/*` Endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}`", "type": "string" } }, @@ -35978,6 +36378,15 @@ "autoScaling": { "$ref": "GoogleCloudAiplatformV1beta1FeatureOnlineStoreBigtableAutoScaling", "description": "Required. Autoscaling config applied to Bigtable Instance." + }, + "bigtableMetadata": { + "$ref": "GoogleCloudAiplatformV1beta1FeatureOnlineStoreBigtableBigtableMetadata", + "description": "Output only. Metadata of the Bigtable instance. Output only.", + "readOnly": true + }, + "enableDirectBigtableAccess": { + "description": "Optional. It true, enable direct access to the Bigtable instance.", + "type": "boolean" } }, "type": "object" @@ -36003,6 +36412,25 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1beta1FeatureOnlineStoreBigtableBigtableMetadata": { + "description": "Metadata of the Bigtable instance. This is used by direct read access to the Bigtable in tenant project.", + "id": "GoogleCloudAiplatformV1beta1FeatureOnlineStoreBigtableBigtableMetadata", + "properties": { + "instanceId": { + "description": "The Cloud Bigtable instance id.", + "type": "string" + }, + "tableId": { + "description": "The Cloud Bigtable table id.", + "type": "string" + }, + "tenantProjectId": { + "description": "Tenant project ID.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudAiplatformV1beta1FeatureOnlineStoreDedicatedServingEndpoint": { "description": "The dedicated serving endpoint for this FeatureOnlineStore. Only need to set when you choose Optimized storage type. Public endpoint is provisioned by default.", "id": "GoogleCloudAiplatformV1beta1FeatureOnlineStoreDedicatedServingEndpoint", @@ -36273,6 +36701,11 @@ "$ref": "GoogleCloudAiplatformV1beta1FeatureViewBigQuerySource", "description": "Optional. Configures how data is supposed to be extracted from a BigQuery source to be loaded onto the FeatureOnlineStore." }, + "bigtableMetadata": { + "$ref": "GoogleCloudAiplatformV1beta1FeatureViewBigtableMetadata", + "description": "Output only. Metadata containing information about the Cloud Bigtable.", + "readOnly": true + }, "createTime": { "description": "Output only. Timestamp when this FeatureView was created.", "format": "google-datetime", @@ -36374,6 +36807,18 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1beta1FeatureViewBigtableMetadata": { + "description": "Metadata for the Cloud Bigtable that supports directly interacting Bigtable instances.", + "id": "GoogleCloudAiplatformV1beta1FeatureViewBigtableMetadata", + "properties": { + "readAppProfile": { + "description": "Output only. The Bigtable App Profile to use for reading from Bigtable.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudAiplatformV1beta1FeatureViewDataKey": { "description": "Lookup key for a feature view.", "id": "GoogleCloudAiplatformV1beta1FeatureViewDataKey", @@ -37500,6 +37945,25 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1beta1FullFineTuningSpec": { + "description": "Tuning Spec for Full Fine Tuning.", + "id": "GoogleCloudAiplatformV1beta1FullFineTuningSpec", + "properties": { + "hyperParameters": { + "$ref": "GoogleCloudAiplatformV1beta1SupervisedHyperParameters", + "description": "Optional. Hyperparameters for Full Fine Tuning." + }, + "trainingDatasetUri": { + "description": "Required. Training dataset used for tuning. The dataset can be specified as either a Cloud Storage path to a JSONL file or as the resource name of a Vertex Multimodal Dataset.", + "type": "string" + }, + "validationDatasetUri": { + "description": "Optional. Validation dataset used for tuning. The dataset can be specified as either a Cloud Storage path to a JSONL file or as the resource name of a Vertex Multimodal Dataset.", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudAiplatformV1beta1FunctionCall": { "description": "A predicted [FunctionCall] returned from the model that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing the parameters and their values.", "id": "GoogleCloudAiplatformV1beta1FunctionCall", @@ -37935,7 +38399,8 @@ "BLOCKLIST", "PROHIBITED_CONTENT", "MODEL_ARMOR", - "IMAGE_SAFETY" + "IMAGE_SAFETY", + "JAILBREAK" ], "enumDescriptions": [ "The blocked reason is unspecified.", @@ -37944,7 +38409,8 @@ "The prompt was blocked because it contains a term from the terminology blocklist.", "The prompt was blocked because it contains prohibited content.", "The prompt was blocked by Model Armor.", - "The prompt was blocked because it contains content that is unsafe for image generation." + "The prompt was blocked because it contains content that is unsafe for image generation.", + "The prompt was blocked as a jailbreak attempt." ], "readOnly": true, "type": "string" @@ -38052,6 +38518,28 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1beta1GenerateFetchAccessTokenRequest": { + "description": "Request message for FeatureOnlineStoreService.GenerateFetchAccessToken.", + "id": "GoogleCloudAiplatformV1beta1GenerateFetchAccessTokenRequest", + "properties": {}, + "type": "object" + }, + "GoogleCloudAiplatformV1beta1GenerateFetchAccessTokenResponse": { + "description": "Response message for FeatureOnlineStoreService.GenerateFetchAccessToken.", + "id": "GoogleCloudAiplatformV1beta1GenerateFetchAccessTokenResponse", + "properties": { + "accessToken": { + "description": "The OAuth 2.0 access token.", + "type": "string" + }, + "expireTime": { + "description": "Token expiration time. This is always set", + "format": "google-datetime", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudAiplatformV1beta1GenerateInstanceRubricsRequest": { "description": "Request message for EvaluationService.GenerateInstanceRubrics.", "id": "GoogleCloudAiplatformV1beta1GenerateInstanceRubricsRequest", @@ -38309,6 +38797,10 @@ "format": "float", "type": "number" }, + "imageConfig": { + "$ref": "GoogleCloudAiplatformV1beta1ImageConfig", + "description": "Optional. Config for image generation features." + }, "logprobs": { "description": "Optional. Logit probabilities.", "format": "int32", @@ -39044,6 +39536,17 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1beta1ImageConfig": { + "description": "Config for image generation features.", + "id": "GoogleCloudAiplatformV1beta1ImageConfig", + "properties": { + "aspectRatio": { + "description": "Optional. The desired aspect ratio for the generated images. The following aspect ratios are supported: \"1:1\" \"2:3\", \"3:2\" \"3:4\", \"4:3\" \"4:5\", \"5:4\" \"9:16\", \"16:9\" \"21:9\"", + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudAiplatformV1beta1ImportDataConfig": { "description": "Describes the location from where we import data into a Dataset, together with the labels that will be applied to the DataItems and the Annotations.", "id": "GoogleCloudAiplatformV1beta1ImportDataConfig", @@ -44392,6 +44895,20 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1beta1MultiSpeakerVoiceConfig": { + "description": "Configuration for a multi-speaker text-to-speech setup. Enables the use of up to two distinct voices in a single synthesis request.", + "id": "GoogleCloudAiplatformV1beta1MultiSpeakerVoiceConfig", + "properties": { + "speakerVoiceConfigs": { + "description": "Required. A list of configurations for the voices of the speakers. Exactly two speaker voice configurations must be provided.", + "items": { + "$ref": "GoogleCloudAiplatformV1beta1SpeakerVoiceConfig" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudAiplatformV1beta1MutateDeployedIndexOperationMetadata": { "description": "Runtime operation information for IndexEndpointService.MutateDeployedIndex.", "id": "GoogleCloudAiplatformV1beta1MutateDeployedIndexOperationMetadata", @@ -51258,7 +51775,8 @@ "HARM_CATEGORY_IMAGE_HATE", "HARM_CATEGORY_IMAGE_DANGEROUS_CONTENT", "HARM_CATEGORY_IMAGE_HARASSMENT", - "HARM_CATEGORY_IMAGE_SEXUALLY_EXPLICIT" + "HARM_CATEGORY_IMAGE_SEXUALLY_EXPLICIT", + "HARM_CATEGORY_JAILBREAK" ], "enumDeprecated": [ false, @@ -51270,6 +51788,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -51282,7 +51801,8 @@ "The harm category is image hate.", "The harm category is image dangerous content.", "The harm category is image harassment.", - "The harm category is image sexually explicit content." + "The harm category is image sexually explicit content.", + "The harm category is for jailbreak prompts." ], "readOnly": true, "type": "string" @@ -51401,7 +51921,8 @@ "HARM_CATEGORY_IMAGE_HATE", "HARM_CATEGORY_IMAGE_DANGEROUS_CONTENT", "HARM_CATEGORY_IMAGE_HARASSMENT", - "HARM_CATEGORY_IMAGE_SEXUALLY_EXPLICIT" + "HARM_CATEGORY_IMAGE_SEXUALLY_EXPLICIT", + "HARM_CATEGORY_JAILBREAK" ], "enumDeprecated": [ false, @@ -51413,6 +51934,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -51425,7 +51947,8 @@ "The harm category is image hate.", "The harm category is image dangerous content.", "The harm category is image harassment.", - "The harm category is image sexually explicit content." + "The harm category is image sexually explicit content.", + "The harm category is for jailbreak prompts." ], "type": "string" }, @@ -51546,6 +52069,11 @@ "description": "SandboxEnvironment is a containerized environment that provides a customizable secure execution runtime for AI agents.", "id": "GoogleCloudAiplatformV1beta1SandboxEnvironment", "properties": { + "connectionInfo": { + "$ref": "GoogleCloudAiplatformV1beta1SandboxEnvironmentConnectionInfo", + "description": "Output only. The connection information of the SandboxEnvironment.", + "readOnly": true + }, "createTime": { "description": "Output only. The timestamp when this SandboxEnvironment was created.", "format": "google-datetime", @@ -51604,6 +52132,28 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1beta1SandboxEnvironmentConnectionInfo": { + "description": "The connection information of the SandboxEnvironment.", + "id": "GoogleCloudAiplatformV1beta1SandboxEnvironmentConnectionInfo", + "properties": { + "loadBalancerHostname": { + "description": "Output only. The hostname of the load balancer.", + "readOnly": true, + "type": "string" + }, + "loadBalancerIp": { + "description": "Output only. The IP address of the load balancer.", + "readOnly": true, + "type": "string" + }, + "sandboxInternalIp": { + "description": "Output only. The internal IP address of the SandboxEnvironment.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudAiplatformV1beta1SandboxEnvironmentSpec": { "description": "The specification of a SandboxEnvironment.", "id": "GoogleCloudAiplatformV1beta1SandboxEnvironmentSpec", @@ -51611,6 +52161,10 @@ "codeExecutionEnvironment": { "$ref": "GoogleCloudAiplatformV1beta1SandboxEnvironmentSpecCodeExecutionEnvironment", "description": "Optional. The code execution environment." + }, + "computerUseEnvironment": { + "$ref": "GoogleCloudAiplatformV1beta1SandboxEnvironmentSpecComputerUseEnvironment", + "description": "Optional. The computer use environment." } }, "type": "object" @@ -51648,6 +52202,12 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1beta1SandboxEnvironmentSpecComputerUseEnvironment": { + "description": "The computer use environment with customized settings.", + "id": "GoogleCloudAiplatformV1beta1SandboxEnvironmentSpecComputerUseEnvironment", + "properties": {}, + "type": "object" + }, "GoogleCloudAiplatformV1beta1SavedQuery": { "description": "A SavedQuery is a view of the dataset. It references a subset of annotations by problem type and filters.", "id": "GoogleCloudAiplatformV1beta1SavedQuery", @@ -56873,6 +57433,21 @@ }, "type": "object" }, + "GoogleCloudAiplatformV1beta1SpeakerVoiceConfig": { + "description": "Configuration for a single speaker in a multi speaker setup.", + "id": "GoogleCloudAiplatformV1beta1SpeakerVoiceConfig", + "properties": { + "speaker": { + "description": "Required. The name of the speaker. This should be the same as the speaker name used in the prompt.", + "type": "string" + }, + "voiceConfig": { + "$ref": "GoogleCloudAiplatformV1beta1VoiceConfig", + "description": "Required. The configuration for the voice of this speaker." + } + }, + "type": "object" + }, "GoogleCloudAiplatformV1beta1SpecialistPool": { "description": "SpecialistPool represents customers' own workforce to work on their data labeling jobs. It includes a group of specialist managers and workers. Managers are responsible for managing the workers in this pool as well as customers' data labeling jobs associated with this pool. Customers create specialist pool as well as start data labeling jobs on Cloud, managers and workers handle the jobs using CrowdCompute console.", "id": "GoogleCloudAiplatformV1beta1SpecialistPool", @@ -56967,6 +57542,10 @@ "description": "Optional. Language code (ISO 639. e.g. en-US) for the speech synthesization.", "type": "string" }, + "multiSpeakerVoiceConfig": { + "$ref": "GoogleCloudAiplatformV1beta1MultiSpeakerVoiceConfig", + "description": "The configuration for a multi-speaker text-to-speech request. This field is mutually exclusive with `voice_config`." + }, "voiceConfig": { "$ref": "GoogleCloudAiplatformV1beta1VoiceConfig", "description": "The configuration for the speaker to use." @@ -59227,6 +59806,28 @@ "description": "GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google.", "id": "GoogleCloudAiplatformV1beta1ToolGoogleSearch", "properties": { + "blockingConfidence": { + "description": "Optional. Sites with confidence level chosen & above this value will be blocked from the search results.", + "enum": [ + "PHISH_BLOCK_THRESHOLD_UNSPECIFIED", + "BLOCK_LOW_AND_ABOVE", + "BLOCK_MEDIUM_AND_ABOVE", + "BLOCK_HIGH_AND_ABOVE", + "BLOCK_HIGHER_AND_ABOVE", + "BLOCK_VERY_HIGH_AND_ABOVE", + "BLOCK_ONLY_EXTREMELY_HIGH" + ], + "enumDescriptions": [ + "Defaults to unspecified.", + "Blocks Low and above confidence URL that is risky.", + "Blocks Medium and above confidence URL that is risky.", + "Blocks High and above confidence URL that is risky.", + "Blocks Higher and above confidence URL that is risky.", + "Blocks Very high and above confidence URL that is risky.", + "Blocks Extremely high confidence URL that is risky." + ], + "type": "string" + }, "excludeDomains": { "description": "Optional. List of domains to be excluded from the search results. The default limit is 2000 domains. Example: [\"amazon.com\", \"facebook.com\"].", "items": { @@ -60188,7 +60789,7 @@ "type": "string" }, "model": { - "description": "Output only. The resource name of the TunedModel. Format: `projects/{project}/locations/{location}/models/{model}@{version_id}` When tuning from a base model, the version_id will be 1. For continuous tuning, the version id will be incremented by 1 from the last version id in the parent model. E.g., `projects/{project}/locations/{location}/models/{model}@{last_version_id + 1}`", + "description": "Output only. The resource name of the TunedModel. Format: `projects/{project}/locations/{location}/models/{model}@{version_id}` When tuning from a base model, the version ID will be 1. For continuous tuning, if the provided tuned_model_display_name is set and different from parent model's display name, the tuned model will have a new parent model with version 1. Otherwise the version id will be incremented by 1 from the last version ID in the parent model. E.g., `projects/{project}/locations/{location}/models/{model}@{last_version_id + 1}`", "readOnly": true, "type": "string" } @@ -60314,6 +60915,10 @@ "readOnly": true, "type": "string" }, + "fullFineTuningSpec": { + "$ref": "GoogleCloudAiplatformV1beta1FullFineTuningSpec", + "description": "Tuning Spec for Full Fine Tuning." + }, "labels": { "additionalProperties": { "type": "string" @@ -60411,7 +61016,7 @@ "readOnly": true }, "tunedModelDisplayName": { - "description": "Optional. The display name of the TunedModel. The name can be up to 128 characters long and can consist of any UTF-8 characters.", + "description": "Optional. The display name of the TunedModel. The name can be up to 128 characters long and can consist of any UTF-8 characters. For continuous tuning, tuned_model_display_name will by default use the same display name as the pre-tuned model. If a new display name is provided, the tuning job will create a new model instead of a new version.", "type": "string" }, "tuningDataStats": { @@ -61534,6 +62139,13 @@ "$ref": "GoogleLongrunningOperation" }, "type": "array" + }, + "unreachable": { + "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.", + "items": { + "type": "string" + }, + "type": "array" } }, "type": "object" diff --git a/discovery/alloydb-v1.json b/discovery/alloydb-v1.json index 555012c191b..d8573454c3e 100644 --- a/discovery/alloydb-v1.json +++ b/discovery/alloydb-v1.json @@ -1627,7 +1627,7 @@ } } }, - "revision": "20251001", + "revision": "20251009", "rootUrl": "https://alloydb.googleapis.com/", "schemas": { "AuthorizedNetwork": { @@ -4656,7 +4656,8 @@ "SIGNAL_TYPE_REPLICATION_LAG", "SIGNAL_TYPE_OUTDATED_VERSION", "SIGNAL_TYPE_OUTDATED_CLIENT", - "SIGNAL_TYPE_DATABOOST_DISABLED" + "SIGNAL_TYPE_DATABOOST_DISABLED", + "SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES" ], "enumDeprecated": [ false, @@ -4761,6 +4762,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -4866,7 +4868,8 @@ "Replication delay.", "Outdated version.", "Outdated client.", - "Databoost is disabled." + "Databoost is disabled.", + "Recommended maintenance policy." ], "type": "string" }, @@ -5305,7 +5308,8 @@ "SIGNAL_TYPE_REPLICATION_LAG", "SIGNAL_TYPE_OUTDATED_VERSION", "SIGNAL_TYPE_OUTDATED_CLIENT", - "SIGNAL_TYPE_DATABOOST_DISABLED" + "SIGNAL_TYPE_DATABOOST_DISABLED", + "SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES" ], "enumDeprecated": [ false, @@ -5410,6 +5414,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -5515,7 +5520,8 @@ "Replication delay.", "Outdated version.", "Outdated client.", - "Databoost is disabled." + "Databoost is disabled.", + "Recommended maintenance policy." ], "type": "string" } @@ -5865,11 +5871,11 @@ "phase": { "description": "Optional. Phase of the maintenance window. This is to capture order of maintenance. For example, for Cloud SQL resources, this can be used to capture if the maintenance window is in Week1, Week2, Week5, etc. Non production resources are usually part of early phase. For more details, refer to Cloud SQL resources - https://cloud.google.com/sql/docs/mysql/maintenance", "enum": [ - "WINDOW_PHASE_UNSPECIFIED", - "WINDOW_PHASE_ANY", - "WINDOW_PHASE_WEEK1", - "WINDOW_PHASE_WEEK2", - "WINDOW_PHASE_WEEK5" + "PHASE_UNSPECIFIED", + "ANY", + "WEEK1", + "WEEK2", + "WEEK5" ], "enumDescriptions": [ "Phase is unspecified.", diff --git a/discovery/alloydb-v1alpha.json b/discovery/alloydb-v1alpha.json index 328abc35186..bfebb2f8768 100644 --- a/discovery/alloydb-v1alpha.json +++ b/discovery/alloydb-v1alpha.json @@ -1627,7 +1627,7 @@ } } }, - "revision": "20251001", + "revision": "20251009", "rootUrl": "https://alloydb.googleapis.com/", "schemas": { "AuthorizedNetwork": { @@ -2212,6 +2212,20 @@ "$ref": "MaintenanceUpdatePolicy", "description": "Optional. The maintenance update policy determines when to allow or deny updates." }, + "maintenanceVersionSelectionPolicy": { + "description": "Input only. Policy to use to automatically select the maintenance version to which to update the cluster's instances.", + "enum": [ + "MAINTENANCE_VERSION_SELECTION_POLICY_UNSPECIFIED", + "MAINTENANCE_VERSION_SELECTION_POLICY_LATEST", + "MAINTENANCE_VERSION_SELECTION_POLICY_DEFAULT" + ], + "enumDescriptions": [ + "The maintenance version selection policy is not specified.", + "Use the latest available maintenance version.", + "Use the current default maintenance version." + ], + "type": "string" + }, "migrationSource": { "$ref": "MigrationSource", "description": "Output only. Cluster created via DMS migration.", @@ -4902,7 +4916,8 @@ "SIGNAL_TYPE_REPLICATION_LAG", "SIGNAL_TYPE_OUTDATED_VERSION", "SIGNAL_TYPE_OUTDATED_CLIENT", - "SIGNAL_TYPE_DATABOOST_DISABLED" + "SIGNAL_TYPE_DATABOOST_DISABLED", + "SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES" ], "enumDeprecated": [ false, @@ -5007,6 +5022,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -5112,7 +5128,8 @@ "Replication delay.", "Outdated version.", "Outdated client.", - "Databoost is disabled." + "Databoost is disabled.", + "Recommended maintenance policy." ], "type": "string" }, @@ -5551,7 +5568,8 @@ "SIGNAL_TYPE_REPLICATION_LAG", "SIGNAL_TYPE_OUTDATED_VERSION", "SIGNAL_TYPE_OUTDATED_CLIENT", - "SIGNAL_TYPE_DATABOOST_DISABLED" + "SIGNAL_TYPE_DATABOOST_DISABLED", + "SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES" ], "enumDeprecated": [ false, @@ -5656,6 +5674,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -5761,7 +5780,8 @@ "Replication delay.", "Outdated version.", "Outdated client.", - "Databoost is disabled." + "Databoost is disabled.", + "Recommended maintenance policy." ], "type": "string" } @@ -6111,11 +6131,11 @@ "phase": { "description": "Optional. Phase of the maintenance window. This is to capture order of maintenance. For example, for Cloud SQL resources, this can be used to capture if the maintenance window is in Week1, Week2, Week5, etc. Non production resources are usually part of early phase. For more details, refer to Cloud SQL resources - https://cloud.google.com/sql/docs/mysql/maintenance", "enum": [ - "WINDOW_PHASE_UNSPECIFIED", - "WINDOW_PHASE_ANY", - "WINDOW_PHASE_WEEK1", - "WINDOW_PHASE_WEEK2", - "WINDOW_PHASE_WEEK5" + "PHASE_UNSPECIFIED", + "ANY", + "WEEK1", + "WEEK2", + "WEEK5" ], "enumDescriptions": [ "Phase is unspecified.", diff --git a/discovery/alloydb-v1beta.json b/discovery/alloydb-v1beta.json index 92f4dd0b1ca..6f28efd5b45 100644 --- a/discovery/alloydb-v1beta.json +++ b/discovery/alloydb-v1beta.json @@ -1624,7 +1624,7 @@ } } }, - "revision": "20251001", + "revision": "20251009", "rootUrl": "https://alloydb.googleapis.com/", "schemas": { "AuthorizedNetwork": { @@ -2198,6 +2198,20 @@ "$ref": "MaintenanceUpdatePolicy", "description": "Optional. The maintenance update policy determines when to allow or deny updates." }, + "maintenanceVersionSelectionPolicy": { + "description": "Input only. Policy to use to automatically select the maintenance version to which to update the cluster's instances.", + "enum": [ + "MAINTENANCE_VERSION_SELECTION_POLICY_UNSPECIFIED", + "MAINTENANCE_VERSION_SELECTION_POLICY_LATEST", + "MAINTENANCE_VERSION_SELECTION_POLICY_DEFAULT" + ], + "enumDescriptions": [ + "The maintenance version selection policy is not specified.", + "Use the latest available maintenance version.", + "Use the current default maintenance version." + ], + "type": "string" + }, "migrationSource": { "$ref": "MigrationSource", "description": "Output only. Cluster created via DMS migration.", @@ -4878,7 +4892,8 @@ "SIGNAL_TYPE_REPLICATION_LAG", "SIGNAL_TYPE_OUTDATED_VERSION", "SIGNAL_TYPE_OUTDATED_CLIENT", - "SIGNAL_TYPE_DATABOOST_DISABLED" + "SIGNAL_TYPE_DATABOOST_DISABLED", + "SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES" ], "enumDeprecated": [ false, @@ -4983,6 +4998,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -5088,7 +5104,8 @@ "Replication delay.", "Outdated version.", "Outdated client.", - "Databoost is disabled." + "Databoost is disabled.", + "Recommended maintenance policy." ], "type": "string" }, @@ -5527,7 +5544,8 @@ "SIGNAL_TYPE_REPLICATION_LAG", "SIGNAL_TYPE_OUTDATED_VERSION", "SIGNAL_TYPE_OUTDATED_CLIENT", - "SIGNAL_TYPE_DATABOOST_DISABLED" + "SIGNAL_TYPE_DATABOOST_DISABLED", + "SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES" ], "enumDeprecated": [ false, @@ -5632,6 +5650,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -5737,7 +5756,8 @@ "Replication delay.", "Outdated version.", "Outdated client.", - "Databoost is disabled." + "Databoost is disabled.", + "Recommended maintenance policy." ], "type": "string" } @@ -6087,11 +6107,11 @@ "phase": { "description": "Optional. Phase of the maintenance window. This is to capture order of maintenance. For example, for Cloud SQL resources, this can be used to capture if the maintenance window is in Week1, Week2, Week5, etc. Non production resources are usually part of early phase. For more details, refer to Cloud SQL resources - https://cloud.google.com/sql/docs/mysql/maintenance", "enum": [ - "WINDOW_PHASE_UNSPECIFIED", - "WINDOW_PHASE_ANY", - "WINDOW_PHASE_WEEK1", - "WINDOW_PHASE_WEEK2", - "WINDOW_PHASE_WEEK5" + "PHASE_UNSPECIFIED", + "ANY", + "WEEK1", + "WEEK2", + "WEEK5" ], "enumDescriptions": [ "Phase is unspecified.", diff --git a/discovery/androidmanagement-v1.json b/discovery/androidmanagement-v1.json index eb64a72f07e..641be0d75af 100644 --- a/discovery/androidmanagement-v1.json +++ b/discovery/androidmanagement-v1.json @@ -1265,7 +1265,7 @@ } } }, - "revision": "20251014", + "revision": "20251015", "rootUrl": "https://androidmanagement.googleapis.com/", "schemas": { "AdbShellCommandEvent": { @@ -1373,7 +1373,7 @@ "type": "string" }, "mtePolicy": { - "description": "Optional. Controls Memory Tagging Extension (MTE) (https://source.android.com/docs/security/test/memory-safety/arm-mte) on the device. The device needs to be rebooted to apply changes to the MTE policy.", + "description": "Optional. Controls Memory Tagging Extension (MTE) (https://source.android.com/docs/security/test/memory-safety/arm-mte) on the device. The device needs to be rebooted to apply changes to the MTE policy. On Android 15 and above, a NonComplianceDetail with PENDING is reported if the policy change is pending a device reboot.", "enum": [ "MTE_POLICY_UNSPECIFIED", "MTE_USER_CHOICE", diff --git a/discovery/baremetalsolution-v2.json b/discovery/baremetalsolution-v2.json index 167dc66baa7..96458469407 100644 --- a/discovery/baremetalsolution-v2.json +++ b/discovery/baremetalsolution-v2.json @@ -143,7 +143,7 @@ ], "parameters": { "extraLocationTypes": { - "description": "Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.", + "description": "Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.", "location": "query", "repeated": true, "type": "string" @@ -1728,7 +1728,7 @@ } } }, - "revision": "20250519", + "revision": "20251008", "rootUrl": "https://baremetalsolution.googleapis.com/", "schemas": { "AllowedClient": { diff --git a/discovery/bigquerydatapolicy-v2.json b/discovery/bigquerydatapolicy-v2.json new file mode 100644 index 00000000000..f64b40413d6 --- /dev/null +++ b/discovery/bigquerydatapolicy-v2.json @@ -0,0 +1,802 @@ +{ + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/bigquery": { + "description": "View and manage your data in Google BigQuery and see the email address for your Google Account" + }, + "https://www.googleapis.com/auth/cloud-platform": { + "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." + } + } + } + }, + "basePath": "", + "baseUrl": "https://bigquerydatapolicy.googleapis.com/", + "batchPath": "batch", + "canonicalName": "BigQuery DataPolicy Service", + "description": "Allows users to manage BigQuery data policies.", + "discoveryVersion": "v1", + "documentationLink": "https://cloud.google.com/bigquery/docs/column-data-masking", + "fullyEncodeReservedExpansion": true, + "icons": { + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" + }, + "id": "bigquerydatapolicy:v2", + "kind": "discovery#restDescription", + "mtlsRootUrl": "https://bigquerydatapolicy.mtls.googleapis.com/", + "name": "bigquerydatapolicy", + "ownerDomain": "google.com", + "ownerName": "Google", + "parameters": { + "$.xgafv": { + "description": "V1 error format.", + "enum": [ + "1", + "2" + ], + "enumDescriptions": [ + "v1 error format", + "v2 error format" + ], + "location": "query", + "type": "string" + }, + "access_token": { + "description": "OAuth access token.", + "location": "query", + "type": "string" + }, + "alt": { + "default": "json", + "description": "Data format for response.", + "enum": [ + "json", + "media", + "proto" + ], + "enumDescriptions": [ + "Responses with Content-Type of application/json", + "Media download with context-dependent Content-Type", + "Responses with Content-Type of application/x-protobuf" + ], + "location": "query", + "type": "string" + }, + "callback": { + "description": "JSONP", + "location": "query", + "type": "string" + }, + "fields": { + "description": "Selector specifying which fields to include in a partial response.", + "location": "query", + "type": "string" + }, + "key": { + "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", + "location": "query", + "type": "string" + }, + "oauth_token": { + "description": "OAuth 2.0 token for the current user.", + "location": "query", + "type": "string" + }, + "prettyPrint": { + "default": "true", + "description": "Returns response with indentations and line breaks.", + "location": "query", + "type": "boolean" + }, + "quotaUser": { + "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", + "location": "query", + "type": "string" + }, + "uploadType": { + "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", + "location": "query", + "type": "string" + }, + "upload_protocol": { + "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", + "location": "query", + "type": "string" + } + }, + "protocol": "rest", + "resources": { + "projects": { + "resources": { + "locations": { + "resources": { + "dataPolicies": { + "methods": { + "addGrantees": { + "description": "Adds new grantees to a data policy. The new grantees will be added to the existing grantees. If the request contains a duplicate grantee, the grantee will be ignored. If the request contains a grantee that already exists, the grantee will be ignored.", + "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/dataPolicies/{dataPoliciesId}:addGrantees", + "httpMethod": "POST", + "id": "bigquerydatapolicy.projects.locations.dataPolicies.addGrantees", + "parameterOrder": [ + "dataPolicy" + ], + "parameters": { + "dataPolicy": { + "description": "Required. Resource name of this data policy, in the format of `projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/dataPolicies/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+dataPolicy}:addGrantees", + "request": { + "$ref": "AddGranteesRequest" + }, + "response": { + "$ref": "DataPolicy" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "create": { + "description": "Creates a new data policy under a project with the given `data_policy_id` (used as the display name), and data policy type.", + "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/dataPolicies", + "httpMethod": "POST", + "id": "bigquerydatapolicy.projects.locations.dataPolicies.create", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. Resource name of the project that the data policy will belong to. The format is `projects/{project_number}/locations/{location_id}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+parent}/dataPolicies", + "request": { + "$ref": "CreateDataPolicyRequest" + }, + "response": { + "$ref": "DataPolicy" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "delete": { + "description": "Deletes the data policy specified by its resource name.", + "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/dataPolicies/{dataPoliciesId}", + "httpMethod": "DELETE", + "id": "bigquerydatapolicy.projects.locations.dataPolicies.delete", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Resource name of the data policy to delete. Format is `projects/{project_number}/locations/{location_id}/dataPolicies/{id}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/dataPolicies/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+name}", + "response": { + "$ref": "Empty" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "get": { + "description": "Gets the data policy specified by its resource name.", + "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/dataPolicies/{dataPoliciesId}", + "httpMethod": "GET", + "id": "bigquerydatapolicy.projects.locations.dataPolicies.get", + "parameterOrder": [ + "name" + ], + "parameters": { + "name": { + "description": "Required. Resource name of the requested data policy. Format is `projects/{project_number}/locations/{location_id}/dataPolicies/{id}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/dataPolicies/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+name}", + "response": { + "$ref": "DataPolicy" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "getIamPolicy": { + "description": "Gets the IAM policy for the specified data policy.", + "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/dataPolicies/{dataPoliciesId}:getIamPolicy", + "httpMethod": "POST", + "id": "bigquerydatapolicy.projects.locations.dataPolicies.getIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/dataPolicies/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+resource}:getIamPolicy", + "request": { + "$ref": "GetIamPolicyRequest" + }, + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "list": { + "description": "List all of the data policies in the specified parent project.", + "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/dataPolicies", + "httpMethod": "GET", + "id": "bigquerydatapolicy.projects.locations.dataPolicies.list", + "parameterOrder": [ + "parent" + ], + "parameters": { + "filter": { + "description": "Optional. Filters the data policies by policy tags that they are associated with. Currently filter only supports \"policy_tag\" based filtering and OR based predicates. Sample filter can be \"policy_tag: projects/1/locations/us/taxonomies/2/policyTags/3\". You may also use wildcard such as \"policy_tag: projects/1/locations/us/taxonomies/2*\". Please note that OR predicates cannot be used with wildcard filters.", + "location": "query", + "type": "string" + }, + "pageSize": { + "description": "Optional. The maximum number of data policies to return. Must be a value between 1 and 1000. If not set, defaults to 50.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "pageToken": { + "description": "Optional. The `nextPageToken` value returned from a previous list request, if any. If not set, defaults to an empty string.", + "location": "query", + "type": "string" + }, + "parent": { + "description": "Required. Resource name of the project for which to list data policies. Format is `projects/{project_number}/locations/{location_id}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+parent}/dataPolicies", + "response": { + "$ref": "ListDataPoliciesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "patch": { + "description": "Updates the metadata for an existing data policy. The target data policy can be specified by the resource name.", + "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/dataPolicies/{dataPoliciesId}", + "httpMethod": "PATCH", + "id": "bigquerydatapolicy.projects.locations.dataPolicies.patch", + "parameterOrder": [ + "name" + ], + "parameters": { + "allowMissing": { + "description": "Optional. If set to true, and the data policy is not found, a new data policy will be created. In this situation, update_mask is ignored.", + "location": "query", + "type": "boolean" + }, + "name": { + "description": "Identifier. Resource name of this data policy, in the format of `projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/dataPolicies/[^/]+$", + "required": true, + "type": "string" + }, + "updateMask": { + "description": "Optional. The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If not set, defaults to all of the fields that are allowed to update. Updates to the `name` and `dataPolicyId` fields are not allowed.", + "format": "google-fieldmask", + "location": "query", + "type": "string" + } + }, + "path": "v2/{+name}", + "request": { + "$ref": "DataPolicy" + }, + "response": { + "$ref": "DataPolicy" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "removeGrantees": { + "description": "Removes grantees from a data policy. The grantees will be removed from the existing grantees. If the request contains a grantee that does not exist, the grantee will be ignored.", + "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/dataPolicies/{dataPoliciesId}:removeGrantees", + "httpMethod": "POST", + "id": "bigquerydatapolicy.projects.locations.dataPolicies.removeGrantees", + "parameterOrder": [ + "dataPolicy" + ], + "parameters": { + "dataPolicy": { + "description": "Required. Resource name of this data policy, in the format of `projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}`.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/dataPolicies/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+dataPolicy}:removeGrantees", + "request": { + "$ref": "RemoveGranteesRequest" + }, + "response": { + "$ref": "DataPolicy" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "setIamPolicy": { + "description": "Sets the IAM policy for the specified data policy.", + "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/dataPolicies/{dataPoliciesId}:setIamPolicy", + "httpMethod": "POST", + "id": "bigquerydatapolicy.projects.locations.dataPolicies.setIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/dataPolicies/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+resource}:setIamPolicy", + "request": { + "$ref": "SetIamPolicyRequest" + }, + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "testIamPermissions": { + "description": "Returns the caller's permission on the specified data policy resource.", + "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/dataPolicies/{dataPoliciesId}:testIamPermissions", + "httpMethod": "POST", + "id": "bigquerydatapolicy.projects.locations.dataPolicies.testIamPermissions", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/dataPolicies/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+resource}:testIamPermissions", + "request": { + "$ref": "TestIamPermissionsRequest" + }, + "response": { + "$ref": "TestIamPermissionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigquery", + "https://www.googleapis.com/auth/cloud-platform" + ] + } + } + } + } + } + } + } + }, + "revision": "20251001", + "rootUrl": "https://bigquerydatapolicy.googleapis.com/", + "schemas": { + "AddGranteesRequest": { + "description": "Request message for the AddGrantees method.", + "id": "AddGranteesRequest", + "properties": { + "grantees": { + "description": "Required. IAM principal that should be granted Fine Grained Access to the underlying data goverened by the data policy. The target data policy is determined by the `data_policy` field. Uses the [IAM V2 principal syntax](https://cloud.google.com/iam/docs/principal-identifiers#v2). Supported principal types: * User * Group * Service account", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "AuditConfig": { + "description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.", + "id": "AuditConfig", + "properties": { + "auditLogConfigs": { + "description": "The configuration for logging of each type of permission.", + "items": { + "$ref": "AuditLogConfig" + }, + "type": "array" + }, + "service": { + "description": "Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.", + "type": "string" + } + }, + "type": "object" + }, + "AuditLogConfig": { + "description": "Provides the configuration for logging a type of permissions. Example: { \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.", + "id": "AuditLogConfig", + "properties": { + "exemptedMembers": { + "description": "Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.", + "items": { + "type": "string" + }, + "type": "array" + }, + "logType": { + "description": "The log type that this config enables.", + "enum": [ + "LOG_TYPE_UNSPECIFIED", + "ADMIN_READ", + "DATA_WRITE", + "DATA_READ" + ], + "enumDescriptions": [ + "Default case. Should never be this.", + "Admin reads. Example: CloudIAM getIamPolicy", + "Data writes. Example: CloudSQL Users create", + "Data reads. Example: CloudSQL Users list" + ], + "type": "string" + } + }, + "type": "object" + }, + "Binding": { + "description": "Associates `members`, or principals, with a `role`.", + "id": "Binding", + "properties": { + "condition": { + "$ref": "Expr", + "description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)." + }, + "members": { + "description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.", + "items": { + "type": "string" + }, + "type": "array" + }, + "role": { + "description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).", + "type": "string" + } + }, + "type": "object" + }, + "CreateDataPolicyRequest": { + "description": "Request message for the CreateDataPolicy method.", + "id": "CreateDataPolicyRequest", + "properties": { + "dataPolicy": { + "$ref": "DataPolicy", + "description": "Required. The data policy to create. The `name` field does not need to be provided for the data policy creation." + }, + "dataPolicyId": { + "description": "Required. User-assigned (human readable) ID of the data policy that needs to be unique within a project. Used as {data_policy_id} in part of the resource name.", + "type": "string" + } + }, + "type": "object" + }, + "DataMaskingPolicy": { + "description": "The policy used to specify data masking rule.", + "id": "DataMaskingPolicy", + "properties": { + "predefinedExpression": { + "description": "Optional. A predefined masking expression.", + "enum": [ + "PREDEFINED_EXPRESSION_UNSPECIFIED", + "SHA256", + "ALWAYS_NULL", + "DEFAULT_MASKING_VALUE", + "LAST_FOUR_CHARACTERS", + "FIRST_FOUR_CHARACTERS", + "EMAIL_MASK", + "DATE_YEAR_MASK", + "RANDOM_HASH" + ], + "enumDescriptions": [ + "Default, unspecified predefined expression. No masking will take place since no expression is specified.", + "Masking expression to replace data with SHA-256 hash.", + "Masking expression to replace data with NULLs.", + "Masking expression to replace data with their default masking values. The default masking values for each type listed as below: * STRING: \"\" * BYTES: b'' * INTEGER: 0 * FLOAT: 0.0 * NUMERIC: 0 * BOOLEAN: FALSE * TIMESTAMP: 1970-01-01 00:00:00 UTC * DATE: 1970-01-01 * TIME: 00:00:00 * DATETIME: 1970-01-01T00:00:00 * GEOGRAPHY: POINT(0 0) * BIGNUMERIC: 0 * ARRAY: [] * STRUCT: NOT_APPLICABLE * JSON: NULL", + "Masking expression shows the last four characters of text. The masking behavior is as follows: * If text length > 4 characters: Replace text with XXXXX, append last four characters of original text. * If text length <= 4 characters: Apply SHA-256 hash.", + "Masking expression shows the first four characters of text. The masking behavior is as follows: * If text length > 4 characters: Replace text with XXXXX, prepend first four characters of original text. * If text length <= 4 characters: Apply SHA-256 hash.", + "Masking expression for email addresses. The masking behavior is as follows: * Syntax-valid email address: Replace username with XXXXX. For example, cloudysanfrancisco@gmail.com becomes XXXXX@gmail.com. * Syntax-invalid email address: Apply SHA-256 hash. For more information, see [Email mask](https://cloud.google.com/bigquery/docs/column-data-masking-intro#masking_options).", + "Masking expression to only show the *year* of `Date`, `DateTime` and `TimeStamp`. For example, with the year 2076: * DATE : 2076-01-01 * DATETIME : 2076-01-01T00:00:00 * TIMESTAMP : 2076-01-01 00:00:00 UTC Truncation occurs according to the UTC time zone. To change this, adjust the default time zone using the `time_zone` system variable. For more information, see [System variables reference](https://cloud.google.com/bigquery/docs/reference/system-variables).", + "Masking expression that uses hashing to mask column data. It differs from SHA256 in that a unique random value is generated for each query and is added to the hash input, resulting in the hash / masked result to be different for each query. Hence the name \"random hash\"." + ], + "type": "string" + }, + "routine": { + "description": "Optional. The name of the BigQuery routine that contains the custom masking routine, in the format of `projects/{project_number}/datasets/{dataset_id}/routines/{routine_id}`.", + "type": "string" + } + }, + "type": "object" + }, + "DataPolicy": { + "description": "Represents the label-policy binding.", + "id": "DataPolicy", + "properties": { + "dataMaskingPolicy": { + "$ref": "DataMaskingPolicy", + "description": "Optional. The data masking policy that specifies the data masking rule to use. It must be set if the data policy type is DATA_MASKING_POLICY." + }, + "dataPolicyId": { + "description": "Output only. User-assigned (human readable) ID of the data policy that needs to be unique within a project. Used as {data_policy_id} in part of the resource name.", + "readOnly": true, + "type": "string" + }, + "dataPolicyType": { + "description": "Required. Type of data policy.", + "enum": [ + "DATA_POLICY_TYPE_UNSPECIFIED", + "DATA_MASKING_POLICY", + "RAW_DATA_ACCESS_POLICY", + "COLUMN_LEVEL_SECURITY_POLICY" + ], + "enumDescriptions": [ + "Default value for the data policy type. This should not be used.", + "Used to create a data policy for data masking.", + "Used to create a data policy for raw data access.", + "Used to create a data policy for column-level security, without data masking. This is deprecated in V2 api and only present to support GET and LIST operations for V1 data policies in V2 api." + ], + "type": "string" + }, + "etag": { + "description": "The etag for this Data Policy. This field is used for UpdateDataPolicy calls. If Data Policy exists, this field is required and must match the server's etag. It will also be populated in the response of GetDataPolicy, CreateDataPolicy, and UpdateDataPolicy calls.", + "type": "string" + }, + "grantees": { + "description": "Optional. The list of IAM principals that have Fine Grained Access to the underlying data goverened by this data policy. Uses the [IAM V2 principal syntax](https://cloud.google.com/iam/docs/principal-identifiers#v2) Only supports principal types users, groups, serviceaccounts, cloudidentity. This field is supported in V2 Data Policy only. In case of V1 data policies (i.e. verion = 1 and policy_tag is set), this field is not populated.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Identifier. Resource name of this data policy, in the format of `projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}`.", + "type": "string" + }, + "policyTag": { + "description": "Output only. Policy tag resource name, in the format of `projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{policyTag_id}`. policy_tag is supported only for V1 data policies.", + "readOnly": true, + "type": "string" + }, + "version": { + "description": "Output only. The version of the Data Policy resource.", + "enum": [ + "VERSION_UNSPECIFIED", + "V1", + "V2" + ], + "enumDescriptions": [ + "Default value for the data policy version. This should not be used.", + "V1 data policy version. V1 Data Policies will be present in V2 List api response, but can not be created/updated/deleted from V2 api.", + "V2 data policy version." + ], + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "Empty": { + "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", + "id": "Empty", + "properties": {}, + "type": "object" + }, + "Expr": { + "description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.", + "id": "Expr", + "properties": { + "description": { + "description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.", + "type": "string" + }, + "expression": { + "description": "Textual representation of an expression in Common Expression Language syntax.", + "type": "string" + }, + "location": { + "description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.", + "type": "string" + }, + "title": { + "description": "Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.", + "type": "string" + } + }, + "type": "object" + }, + "GetIamPolicyRequest": { + "description": "Request message for `GetIamPolicy` method.", + "id": "GetIamPolicyRequest", + "properties": { + "options": { + "$ref": "GetPolicyOptions", + "description": "OPTIONAL: A `GetPolicyOptions` object for specifying options to `GetIamPolicy`." + } + }, + "type": "object" + }, + "GetPolicyOptions": { + "description": "Encapsulates settings provided to GetIamPolicy.", + "id": "GetPolicyOptions", + "properties": { + "requestedPolicyVersion": { + "description": "Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "ListDataPoliciesResponse": { + "description": "Response message for the ListDataPolicies method.", + "id": "ListDataPoliciesResponse", + "properties": { + "dataPolicies": { + "description": "Data policies that belong to the requested project.", + "items": { + "$ref": "DataPolicy" + }, + "type": "array" + }, + "nextPageToken": { + "description": "Token used to retrieve the next page of results, or empty if there are no more results.", + "type": "string" + } + }, + "type": "object" + }, + "Policy": { + "description": "An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time < timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).", + "id": "Policy", + "properties": { + "auditConfigs": { + "description": "Specifies cloud audit logging configuration for this policy.", + "items": { + "$ref": "AuditConfig" + }, + "type": "array" + }, + "bindings": { + "description": "Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.", + "items": { + "$ref": "Binding" + }, + "type": "array" + }, + "etag": { + "description": "`etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.", + "format": "byte", + "type": "string" + }, + "version": { + "description": "Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "RemoveGranteesRequest": { + "description": "Request message for the RemoveGrantees method.", + "id": "RemoveGranteesRequest", + "properties": { + "grantees": { + "description": "Required. IAM principal that should be revoked from Fine Grained Access to the underlying data goverened by the data policy. The target data policy is determined by the `data_policy` field. Uses the [IAM V2 principal syntax](https://cloud.google.com/iam/docs/principal-identifiers#v2). Supported principal types: * User * Group * Service account", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "SetIamPolicyRequest": { + "description": "Request message for `SetIamPolicy` method.", + "id": "SetIamPolicyRequest", + "properties": { + "policy": { + "$ref": "Policy", + "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them." + }, + "updateMask": { + "description": "OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: \"bindings, etag\"`", + "format": "google-fieldmask", + "type": "string" + } + }, + "type": "object" + }, + "TestIamPermissionsRequest": { + "description": "Request message for `TestIamPermissions` method.", + "id": "TestIamPermissionsRequest", + "properties": { + "permissions": { + "description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "TestIamPermissionsResponse": { + "description": "Response message for `TestIamPermissions` method.", + "id": "TestIamPermissionsResponse", + "properties": { + "permissions": { + "description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + } + }, + "servicePath": "", + "title": "BigQuery Data Policy API", + "version": "v2", + "version_module": true +} \ No newline at end of file diff --git a/discovery/bigtableadmin-v2.json b/discovery/bigtableadmin-v2.json index f5dcc571678..5e8264d4962 100644 --- a/discovery/bigtableadmin-v2.json +++ b/discovery/bigtableadmin-v2.json @@ -2856,6 +2856,38 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "getIamPolicy": { + "description": "Gets the access control policy for a Bigtable resource. Returns an empty policy if the resource exists but does not have a policy set.", + "flatPath": "v2/projects/{projectsId}/instances/{instancesId}/tables/{tablesId}/schemaBundles/{schemaBundlesId}:getIamPolicy", + "httpMethod": "POST", + "id": "bigtableadmin.projects.instances.tables.schemaBundles.getIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/instances/[^/]+/tables/[^/]+/schemaBundles/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+resource}:getIamPolicy", + "request": { + "$ref": "GetIamPolicyRequest" + }, + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigtable.admin", + "https://www.googleapis.com/auth/bigtable.admin.table", + "https://www.googleapis.com/auth/cloud-bigtable.admin", + "https://www.googleapis.com/auth/cloud-bigtable.admin.table", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "list": { "description": "Lists all schema bundles associated with the specified table.", "flatPath": "v2/projects/{projectsId}/instances/{instancesId}/tables/{tablesId}/schemaBundles", @@ -2955,6 +2987,70 @@ "https://www.googleapis.com/auth/cloud-bigtable.admin.table", "https://www.googleapis.com/auth/cloud-platform" ] + }, + "setIamPolicy": { + "description": "Sets the access control policy on a Bigtable resource. Replaces any existing policy.", + "flatPath": "v2/projects/{projectsId}/instances/{instancesId}/tables/{tablesId}/schemaBundles/{schemaBundlesId}:setIamPolicy", + "httpMethod": "POST", + "id": "bigtableadmin.projects.instances.tables.schemaBundles.setIamPolicy", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/instances/[^/]+/tables/[^/]+/schemaBundles/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+resource}:setIamPolicy", + "request": { + "$ref": "SetIamPolicyRequest" + }, + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigtable.admin", + "https://www.googleapis.com/auth/bigtable.admin.table", + "https://www.googleapis.com/auth/cloud-bigtable.admin", + "https://www.googleapis.com/auth/cloud-bigtable.admin.table", + "https://www.googleapis.com/auth/cloud-platform" + ] + }, + "testIamPermissions": { + "description": "Returns permissions that the caller has on the specified Bigtable resource.", + "flatPath": "v2/projects/{projectsId}/instances/{instancesId}/tables/{tablesId}/schemaBundles/{schemaBundlesId}:testIamPermissions", + "httpMethod": "POST", + "id": "bigtableadmin.projects.instances.tables.schemaBundles.testIamPermissions", + "parameterOrder": [ + "resource" + ], + "parameters": { + "resource": { + "description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.", + "location": "path", + "pattern": "^projects/[^/]+/instances/[^/]+/tables/[^/]+/schemaBundles/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v2/{+resource}:testIamPermissions", + "request": { + "$ref": "TestIamPermissionsRequest" + }, + "response": { + "$ref": "TestIamPermissionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/bigtable.admin", + "https://www.googleapis.com/auth/bigtable.admin.table", + "https://www.googleapis.com/auth/cloud-bigtable.admin", + "https://www.googleapis.com/auth/cloud-bigtable.admin.table", + "https://www.googleapis.com/auth/cloud-platform" + ] } } } @@ -3022,7 +3118,7 @@ } } }, - "revision": "20251004", + "revision": "20251012", "rootUrl": "https://bigtableadmin.googleapis.com/", "schemas": { "AppProfile": { diff --git a/discovery/chat-v1.json b/discovery/chat-v1.json index e47d33e73b3..d47acfd56ca 100644 --- a/discovery/chat-v1.json +++ b/discovery/chat-v1.json @@ -1535,7 +1535,7 @@ } } }, - "revision": "20251002", + "revision": "20251014", "rootUrl": "https://chat.googleapis.com/", "schemas": { "AccessSettings": { @@ -2077,7 +2077,7 @@ "The add-on launches from Google Sheets.", "The add-on launches from Google Slides.", "The add-on launches from Google Drawings.", - "A Google Chat app. Not used for Google Workspace add-ons." + "A Google Chat app." ], "type": "string" }, @@ -3041,7 +3041,7 @@ "type": "string" }, "valueMsEpoch": { - "description": "The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`).", + "description": "Optional. The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`).", "format": "int64", "type": "string" } @@ -4708,7 +4708,7 @@ "type": "string" }, "formattedText": { - "description": "Output only. Contains the message `text` with markups added to communicate formatting. This field might not capture all formatting visible in the UI, but includes the following: * [Markup syntax](https://developers.google.com/workspace/chat/format-messages) for bold, italic, strikethrough, monospace, monospace block, and bulleted list. * [User mentions](https://developers.google.com/workspace/chat/format-messages#messages-@mention) using the format ``. * Custom hyperlinks using the format `<{url}|{rendered_text}>` where the first string is the URL and the second is the rendered text—for example, ``. * Custom emoji using the format `:{emoji_name}:`—for example, `:smile:`. This doesn't apply to Unicode emoji, such as `U+1F600` for a grinning face emoji. For more information, see [View text formatting sent in a message](https://developers.google.com/workspace/chat/format-messages#view_text_formatting_sent_in_a_message)", + "description": "Output only. Contains the message `text` with markups added to communicate formatting. This field might not capture all formatting visible in the UI, but includes the following: * [Markup syntax](https://developers.google.com/workspace/chat/format-messages) for bold, italic, strikethrough, monospace, monospace block, and bulleted list. * [User mentions](https://developers.google.com/workspace/chat/format-messages#messages-@mention) using the format ``. * Custom hyperlinks using the format `<{url}|{rendered_text}>` where the first string is the URL and the second is the rendered text—for example, ``. * Custom emoji using the format `:{emoji_name}:`—for example, `:smile:`. This doesn't apply to Unicode emoji, such as `U+1F600` for a grinning face emoji. * Bullet list items using asterisks (`*`)—for example, `* item`. For more information, see [View text formatting sent in a message](https://developers.google.com/workspace/chat/format-messages#view_text_formatting_sent_in_a_message)", "readOnly": true, "type": "string" }, diff --git a/discovery/chromemanagement-v1.json b/discovery/chromemanagement-v1.json index aedb093b21d..d7ed32a6bb3 100644 --- a/discovery/chromemanagement-v1.json +++ b/discovery/chromemanagement-v1.json @@ -1657,7 +1657,7 @@ } } }, - "revision": "20251006", + "revision": "20251014", "rootUrl": "https://chromemanagement.googleapis.com/", "schemas": { "GoogleChromeManagementV1AndroidAppInfo": { @@ -3694,16 +3694,40 @@ "readOnly": true, "type": "string" }, + "gatewayIpv6Address": { + "description": "Output only. The gateway IPv6 for this interface, if detected", + "readOnly": true, + "type": "string" + }, "guid": { "description": "Output only. Network connection guid.", "readOnly": true, "type": "string" }, + "ipv6Address": { + "description": "Output only. IPv6 addresses assigned to this network, if any. Each address is a string in standard IPv6 text representation (e.g., \"2001:db8::1\").", + "items": { + "type": "string" + }, + "readOnly": true, + "type": "array" + }, "lanIpAddress": { "description": "Output only. LAN IP address.", "readOnly": true, "type": "string" }, + "linkDownSpeedKbps": { + "description": "Output only. The maximum downstream bandwidth in Kilobits per second (Kbps), if reported by the network interface or connection.", + "format": "int64", + "readOnly": true, + "type": "string" + }, + "metered": { + "description": "Output only. Whether the network was detected as metered.", + "readOnly": true, + "type": "boolean" + }, "receivingBitRateMbps": { "description": "Output only. Receiving bit rate measured in Megabits per second.", "format": "int64", @@ -4824,6 +4848,11 @@ ], "type": "string" }, + "externalDisplaysEvent": { + "$ref": "GoogleChromeManagementV1TelemetryExternalDisplayEvent", + "description": "Output only. Payload for external display connected/disconnected event. Present only when `event_type` is `EXTERNAL_DISPLAY_CONNECTED` or `EXTERNAL_DISPLAY_DISCONNECTED`.", + "readOnly": true + }, "httpsLatencyChangeEvent": { "$ref": "GoogleChromeManagementV1TelemetryHttpsLatencyChangeEvent", "description": "Output only. Payload for HTTPS latency change event. Present only when `event_type` is `NETWORK_HTTPS_LATENCY_CHANGE`.", @@ -4920,6 +4949,55 @@ }, "type": "object" }, + "GoogleChromeManagementV1TelemetryExternalDisplayData": { + "description": "External display data.", + "id": "GoogleChromeManagementV1TelemetryExternalDisplayData", + "properties": { + "displayName": { + "description": "The display name.", + "type": "string" + }, + "edidVersion": { + "description": "The EDID version.", + "type": "string" + }, + "refreshRate": { + "description": "The refresh rate.", + "format": "int64", + "type": "string" + }, + "resolutionHorizontal": { + "description": "The horizontal resolution.", + "format": "int32", + "type": "integer" + }, + "resolutionVertical": { + "description": "The vertical resolution.", + "format": "int32", + "type": "integer" + }, + "serialNumber": { + "description": "The serial number.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "GoogleChromeManagementV1TelemetryExternalDisplayEvent": { + "description": "External display connected/disconnected event payload.", + "id": "GoogleChromeManagementV1TelemetryExternalDisplayEvent", + "properties": { + "externalDisplayData": { + "description": "List of external displays that were connected/disconnected.", + "items": { + "$ref": "GoogleChromeManagementV1TelemetryExternalDisplayData" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleChromeManagementV1TelemetryHttpsLatencyChangeEvent": { "description": "Https latency routine is run periodically and `TelemetryHttpsLatencyChangeEvent` is triggered if a latency problem was detected or if the device has recovered from a latency problem. * Granular permission needed: TELEMETRY_API_NETWORK_REPORT", "id": "GoogleChromeManagementV1TelemetryHttpsLatencyChangeEvent", diff --git a/discovery/chromewebstore-v1.1.json b/discovery/chromewebstore-v1.1.json index 6a6168d6f4c..899cd36a0a1 100644 --- a/discovery/chromewebstore-v1.1.json +++ b/discovery/chromewebstore-v1.1.json @@ -17,7 +17,7 @@ "canonicalName": "Chromewebstore", "description": "The Chrome Web Store API provides access to data about apps and extensions, as well as developer tools for managing them.", "discoveryVersion": "v1", - "documentationLink": "https://developer.chrome.com/webstore/api_index", + "documentationLink": "https://developer.chrome.com/docs/webstore/api", "fullyEncodeReservedExpansion": true, "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", @@ -268,7 +268,7 @@ } } }, - "revision": "20251006", + "revision": "20251015", "rootUrl": "https://chromewebstore.googleapis.com/", "schemas": { "Item": { diff --git a/discovery/cloudcommerceprocurement-v1.json b/discovery/cloudcommerceprocurement-v1.json index 114dfe24b74..7d6f5daf8c7 100644 --- a/discovery/cloudcommerceprocurement-v1.json +++ b/discovery/cloudcommerceprocurement-v1.json @@ -161,7 +161,7 @@ "ACCOUNT_VIEW_FULL" ], "enumDescriptions": [ - "The default / unset value. For `GetAccount`, it defaults to the FULL view. For `ListAccounts`, it only supports BASIC view.", + "The default / unset value. For `GetAccount` and `ListAccounts`, they default to the BASIC view. For `ListAccounts`, it only supports the BASIC view.", "Include base account information. This is the default view. All fields from Account are included except for the reseller_parent_billing_account field.", "Includes all available account information, inclusive of the accounts reseller_parent_billing_account, if it's a resold account." ], @@ -518,7 +518,7 @@ } } }, - "revision": "20250923", + "revision": "20251012", "rootUrl": "https://cloudcommerceprocurement.googleapis.com/", "schemas": { "Account": { diff --git a/discovery/compute-beta.json b/discovery/compute-beta.json index cf1edb58fdc..395dcd0245a 100644 --- a/discovery/compute-beta.json +++ b/discovery/compute-beta.json @@ -36994,6 +36994,63 @@ "https://www.googleapis.com/auth/compute.readonly" ] }, + "getIamPolicy": { + "description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", + "flatPath": "projects/{project}/zones/{zone}/reservations/{parentResource}/reservationBlocks/{resource}/getIamPolicy", + "httpMethod": "GET", + "id": "compute.reservationBlocks.getIamPolicy", + "parameterOrder": [ + "project", + "zone", + "parentResource", + "resource" + ], + "parameters": { + "optionsRequestedPolicyVersion": { + "description": "Requested IAM Policy version.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "parentResource": { + "description": "Name or id of parent resource of the resource for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-zA-Z0-9/]{0,255}[a-zA-Z0-9])?", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + }, + "zone": { + "description": "The name of the zone for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "required": true, + "type": "string" + } + }, + "path": "projects/{project}/zones/{zone}/reservations/{parentResource}/reservationBlocks/{resource}/getIamPolicy", + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ] + }, "list": { "description": "Retrieves a list of reservation blocks under a single reservation.", "flatPath": "projects/{project}/zones/{zone}/reservations/{reservation}/reservationBlocks", @@ -37115,6 +37172,113 @@ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ] + }, + "setIamPolicy": { + "description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", + "flatPath": "projects/{project}/zones/{zone}/reservations/{parentResource}/reservationBlocks/{resource}/setIamPolicy", + "httpMethod": "POST", + "id": "compute.reservationBlocks.setIamPolicy", + "parameterOrder": [ + "project", + "zone", + "parentResource", + "resource" + ], + "parameters": { + "parentResource": { + "description": "Name or id of parent resource of the resource for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-zA-Z0-9/]{0,255}[a-zA-Z0-9])?", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + }, + "zone": { + "description": "The name of the zone for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "required": true, + "type": "string" + } + }, + "path": "projects/{project}/zones/{zone}/reservations/{parentResource}/reservationBlocks/{resource}/setIamPolicy", + "request": { + "$ref": "ZoneSetNestedPolicyRequest" + }, + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ] + }, + "testIamPermissions": { + "description": "Returns permissions that a caller has on the specified resource.", + "flatPath": "projects/{project}/zones/{zone}/reservations/{parentResource}/reservationBlocks/{resource}/testIamPermissions", + "httpMethod": "POST", + "id": "compute.reservationBlocks.testIamPermissions", + "parameterOrder": [ + "project", + "zone", + "parentResource", + "resource" + ], + "parameters": { + "parentResource": { + "description": "Name or id of parent resource of the resource for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-zA-Z0-9/]{0,255}[a-zA-Z0-9])?", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + }, + "zone": { + "description": "The name of the zone for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "required": true, + "type": "string" + } + }, + "path": "projects/{project}/zones/{zone}/reservations/{parentResource}/reservationBlocks/{resource}/testIamPermissions", + "request": { + "$ref": "TestPermissionsRequest" + }, + "response": { + "$ref": "TestPermissionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ] } } }, @@ -37167,6 +37331,63 @@ "https://www.googleapis.com/auth/compute.readonly" ] }, + "getIamPolicy": { + "description": "Gets the access control policy for a resource. May be empty if no such\npolicy or resource exists.", + "flatPath": "projects/{project}/zones/{zone}/{parentResource}/reservationSubBlocks/{resource}/getIamPolicy", + "httpMethod": "GET", + "id": "compute.reservationSubBlocks.getIamPolicy", + "parameterOrder": [ + "project", + "zone", + "parentResource", + "resource" + ], + "parameters": { + "optionsRequestedPolicyVersion": { + "description": "Requested IAM Policy version.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "parentResource": { + "description": "Name or id of parent resource of the resource for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-zA-Z0-9/]{0,255}[a-zA-Z0-9])?", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + }, + "zone": { + "description": "The name of the zone for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "required": true, + "type": "string" + } + }, + "path": "projects/{project}/zones/{zone}/{parentResource}/reservationSubBlocks/{resource}/getIamPolicy", + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ] + }, "list": { "description": "Retrieves a list of reservation subBlocks under a single reservation.", "flatPath": "projects/{project}/zones/{zone}/{parentName}/reservationSubBlocks", @@ -37339,6 +37560,113 @@ "https://www.googleapis.com/auth/cloud-platform", "https://www.googleapis.com/auth/compute" ] + }, + "setIamPolicy": { + "description": "Sets the access control policy on the specified resource.\nReplaces any existing policy.", + "flatPath": "projects/{project}/zones/{zone}/{parentResource}/reservationSubBlocks/{resource}/setIamPolicy", + "httpMethod": "POST", + "id": "compute.reservationSubBlocks.setIamPolicy", + "parameterOrder": [ + "project", + "zone", + "parentResource", + "resource" + ], + "parameters": { + "parentResource": { + "description": "Name or id of parent resource of the resource for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-zA-Z0-9/]{0,255}[a-zA-Z0-9])?", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + }, + "zone": { + "description": "The name of the zone for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "required": true, + "type": "string" + } + }, + "path": "projects/{project}/zones/{zone}/{parentResource}/reservationSubBlocks/{resource}/setIamPolicy", + "request": { + "$ref": "ZoneSetNestedPolicyRequest" + }, + "response": { + "$ref": "Policy" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ] + }, + "testIamPermissions": { + "description": "Returns permissions that a caller has on the specified resource.", + "flatPath": "projects/{project}/zones/{zone}/{parentResource}/reservationSubBlocks/{resource}/testIamPermissions", + "httpMethod": "POST", + "id": "compute.reservationSubBlocks.testIamPermissions", + "parameterOrder": [ + "project", + "zone", + "parentResource", + "resource" + ], + "parameters": { + "parentResource": { + "description": "Name or id of parent resource of the resource for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-zA-Z0-9/]{0,255}[a-zA-Z0-9])?", + "required": true, + "type": "string" + }, + "project": { + "description": "Project ID for this request.", + "location": "path", + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "required": true, + "type": "string" + }, + "resource": { + "description": "Name or id of the resource for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}", + "required": true, + "type": "string" + }, + "zone": { + "description": "The name of the zone for this request.", + "location": "path", + "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", + "required": true, + "type": "string" + } + }, + "path": "projects/{project}/zones/{zone}/{parentResource}/reservationSubBlocks/{resource}/testIamPermissions", + "request": { + "$ref": "TestPermissionsRequest" + }, + "response": { + "$ref": "TestPermissionsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute", + "https://www.googleapis.com/auth/compute.readonly" + ] } } }, @@ -48096,7 +48424,7 @@ } } }, - "revision": "20250930", + "revision": "20251015", "rootUrl": "https://compute.googleapis.com/", "schemas": { "AWSV4Signature": { @@ -108542,6 +108870,28 @@ }, "type": "object" }, + "ZoneSetNestedPolicyRequest": { + "id": "ZoneSetNestedPolicyRequest", + "properties": { + "bindings": { + "description": "Flatten Policy to create a backwacd compatible wire-format.\nDeprecated. Use 'policy' to specify bindings.", + "items": { + "$ref": "Binding" + }, + "type": "array" + }, + "etag": { + "description": "Flatten Policy to create a backward compatible wire-format.\nDeprecated. Use 'policy' to specify the etag.", + "format": "byte", + "type": "string" + }, + "policy": { + "$ref": "Policy", + "description": "REQUIRED: The complete policy to be applied to the 'resource'. The size of\nthe policy is limited to a few 10s of KB. An empty policy is in general a\nvalid policy but certain services (like Projects) might reject them." + } + }, + "type": "object" + }, "ZoneSetPolicyRequest": { "id": "ZoneSetPolicyRequest", "properties": { diff --git a/discovery/contactcenterinsights-v1.json b/discovery/contactcenterinsights-v1.json index 2b2c353937c..9a5d6cd8e86 100644 --- a/discovery/contactcenterinsights-v1.json +++ b/discovery/contactcenterinsights-v1.json @@ -5648,7 +5648,7 @@ } } }, - "revision": "20251007", + "revision": "20251014", "rootUrl": "https://contactcenterinsights.googleapis.com/", "schemas": { "GoogleCloudContactcenterinsightsV1Analysis": { @@ -7565,7 +7565,8 @@ "CONVERSATION_PROFILE_ID", "MEDIUM", "AGENT_VERSION_ID", - "AGENT_DEPLOYMENT_ID" + "AGENT_DEPLOYMENT_ID", + "AGENT_ASSIST_SUPERVISOR_ID" ], "enumDescriptions": [ "The key of the dimension is unspecified.", @@ -7579,7 +7580,8 @@ "The dimension is keyed by the conversation profile ID.", "The dimension is keyed by the conversation medium.", "The dimension is keyed by the agent version ID.", - "The dimension is keyed by the agent deployment ID." + "The dimension is keyed by the agent deployment ID.", + "The dimension is keyed by the supervisor ID of the assigned human supervisor for virtual agents." ], "type": "string" }, @@ -12106,7 +12108,8 @@ "CONVERSATION_PROFILE_ID", "MEDIUM", "AGENT_VERSION_ID", - "AGENT_DEPLOYMENT_ID" + "AGENT_DEPLOYMENT_ID", + "AGENT_ASSIST_SUPERVISOR_ID" ], "enumDescriptions": [ "The key of the dimension is unspecified.", @@ -12120,7 +12123,8 @@ "The dimension is keyed by the conversation profile ID.", "The dimension is keyed by the conversation medium.", "The dimension is keyed by the agent version ID.", - "The dimension is keyed by the agent deployment ID." + "The dimension is keyed by the agent deployment ID.", + "The dimension is keyed by the supervisor ID of the assigned human supervisor for virtual agents." ], "type": "string" }, diff --git a/discovery/container-v1.json b/discovery/container-v1.json index 431a5aee7ed..6296c2ff731 100644 --- a/discovery/container-v1.json +++ b/discovery/container-v1.json @@ -2660,7 +2660,7 @@ } } }, - "revision": "20250923", + "revision": "20250930", "rootUrl": "https://container.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -4406,6 +4406,10 @@ "privateRegistryAccessConfig": { "$ref": "PrivateRegistryAccessConfig", "description": "PrivateRegistryAccessConfig is used to configure access configuration for private container registries." + }, + "writableCgroups": { + "$ref": "WritableCgroups", + "description": "Optional. WritableCgroups defines writable cgroups configuration for the node pool." } }, "type": "object" @@ -6536,7 +6540,7 @@ "type": "boolean" }, "cpuCfsQuotaPeriod": { - "description": "Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as \"300ms\". Valid time units are \"ns\", \"us\" (or \"µs\"), \"ms\", \"s\", \"m\", \"h\". The value must be a positive duration.", + "description": "Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as \"300ms\". Valid time units are \"ns\", \"us\" (or \"µs\"), \"ms\", \"s\", \"m\", \"h\". The value must be a positive duration between 1ms and 1 second, inclusive.", "type": "string" }, "cpuManagerPolicy": { @@ -9361,6 +9365,17 @@ } }, "type": "object" + }, + "WritableCgroups": { + "description": "Defines writable cgroups configuration.", + "id": "WritableCgroups", + "properties": { + "enabled": { + "description": "Optional. Whether writable cgroups is enabled.", + "type": "boolean" + } + }, + "type": "object" } }, "servicePath": "", diff --git a/discovery/container-v1beta1.json b/discovery/container-v1beta1.json index 2f16da9b830..d9724c29cac 100644 --- a/discovery/container-v1beta1.json +++ b/discovery/container-v1beta1.json @@ -2685,7 +2685,7 @@ } } }, - "revision": "20250923", + "revision": "20250930", "rootUrl": "https://container.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -3834,6 +3834,10 @@ "$ref": "SecretManagerConfig", "description": "Secret CSI driver configuration." }, + "secretSyncConfig": { + "$ref": "SecretSyncConfig", + "description": "Configuration for sync Secret Manager secrets as k8s secrets." + }, "securityPostureConfig": { "$ref": "SecurityPostureConfig", "description": "Enable/Disable Security Posture API features for the cluster." @@ -4603,6 +4607,10 @@ "privateRegistryAccessConfig": { "$ref": "PrivateRegistryAccessConfig", "description": "PrivateRegistryAccessConfig is used to configure access configuration for private container registries." + }, + "writableCgroups": { + "$ref": "WritableCgroups", + "description": "Optional. WritableCgroups defines writable cgroups configuration for the node pool." } }, "type": "object" @@ -6930,7 +6938,7 @@ "type": "boolean" }, "cpuCfsQuotaPeriod": { - "description": "Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as \"300ms\". Valid time units are \"ns\", \"us\" (or \"µs\"), \"ms\", \"s\", \"m\", \"h\". The value must be a positive duration.", + "description": "Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as \"300ms\". Valid time units are \"ns\", \"us\" (or \"µs\"), \"ms\", \"s\", \"m\", \"h\". The value must be a positive duration between 1ms and 1 second, inclusive.", "type": "string" }, "cpuManagerPolicy": { @@ -8337,6 +8345,21 @@ }, "type": "object" }, + "SecretSyncConfig": { + "description": "Configuration for sync Secret Manager secrets as k8s secrets.", + "id": "SecretSyncConfig", + "properties": { + "enabled": { + "description": "Enable/Disable Secret Sync Config.", + "type": "boolean" + }, + "rotationConfig": { + "$ref": "SyncRotationConfig", + "description": "Rotation config for secret manager." + } + }, + "type": "object" + }, "SecurityBulletinEvent": { "description": "SecurityBulletinEvent is a notification sent to customers when a security bulletin has been posted that they are vulnerable to.", "id": "SecurityBulletinEvent", @@ -9114,6 +9137,22 @@ }, "type": "object" }, + "SyncRotationConfig": { + "description": "SyncRotationConfig is config for secret manager auto rotation.", + "id": "SyncRotationConfig", + "properties": { + "enabled": { + "description": "Whether the rotation is enabled.", + "type": "boolean" + }, + "rotationInterval": { + "description": "The interval between two consecutive rotations. Default rotation interval is 2 minutes.", + "format": "google-duration", + "type": "string" + } + }, + "type": "object" + }, "TimeWindow": { "description": "Represents an arbitrary window of time.", "id": "TimeWindow", @@ -9981,6 +10020,17 @@ } }, "type": "object" + }, + "WritableCgroups": { + "description": "Defines writable cgroups configuration.", + "id": "WritableCgroups", + "properties": { + "enabled": { + "description": "Optional. Whether writable cgroups is enabled.", + "type": "boolean" + } + }, + "type": "object" } }, "servicePath": "", diff --git a/discovery/dataplex-v1.json b/discovery/dataplex-v1.json index e0ca115d562..18b16f01f7f 100644 --- a/discovery/dataplex-v1.json +++ b/discovery/dataplex-v1.json @@ -66,6 +66,11 @@ "endpointUrl": "https://dataplex.asia-southeast2.rep.googleapis.com/", "location": "asia-southeast2" }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://dataplex.asia-southeast3.rep.googleapis.com/", + "location": "asia-southeast3" + }, { "description": "Regional Endpoint", "endpointUrl": "https://dataplex.australia-southeast1.rep.googleapis.com/", @@ -111,6 +116,11 @@ "endpointUrl": "https://dataplex.europe-west12.rep.googleapis.com/", "location": "europe-west12" }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://dataplex.europe-west15.rep.googleapis.com/", + "location": "europe-west15" + }, { "description": "Regional Endpoint", "endpointUrl": "https://dataplex.europe-west2.rep.googleapis.com/", @@ -860,7 +870,7 @@ "Returns entry only, without aspects.", "Returns all required aspects as well as the keys of all non-required aspects.", "Returns aspects matching custom fields in GetEntryRequest. If the number of aspects exceeds 100, the first 100 will be returned.", - "Returns all aspects. If the number of aspects exceeds 100, the first 100 will be returned." + "" ], "location": "query", "type": "string" @@ -3062,7 +3072,7 @@ "Returns entry only, without aspects.", "Returns all required aspects as well as the keys of all non-required aspects.", "Returns aspects matching custom fields in GetEntryRequest. If the number of aspects exceeds 100, the first 100 will be returned.", - "Returns all aspects. If the number of aspects exceeds 100, the first 100 will be returned." + "" ], "location": "query", "type": "string" @@ -7250,7 +7260,7 @@ } } }, - "revision": "20250924", + "revision": "20251012", "rootUrl": "https://dataplex.googleapis.com/", "schemas": { "Empty": { @@ -7544,6 +7554,18 @@ "readOnly": true, "type": "string" }, + "dataClassification": { + "description": "Optional. Immutable. Stores data classification of the aspect.", + "enum": [ + "DATA_CLASSIFICATION_UNSPECIFIED", + "METADATA_AND_DATA" + ], + "enumDescriptions": [ + "Denotes that the aspect contains only metadata.", + "Metadata and data classification." + ], + "type": "string" + }, "description": { "description": "Optional. Description of the AspectType.", "type": "string" diff --git a/discovery/dataproc-v1.json b/discovery/dataproc-v1.json index 6575ee2c510..063cd06b3f8 100644 --- a/discovery/dataproc-v1.json +++ b/discovery/dataproc-v1.json @@ -1613,6 +1613,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to true, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field.This can only be true when reading across collections e.g. when parent is set to \"projects/example/locations/-\".This field is not by default supported and will result in an UNIMPLEMENTED error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1/{+name}", @@ -4636,6 +4641,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to true, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field.This can only be true when reading across collections e.g. when parent is set to \"projects/example/locations/-\".This field is not by default supported and will result in an UNIMPLEMENTED error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1/{+name}", @@ -5012,7 +5022,7 @@ } } }, - "revision": "20251001", + "revision": "20251003", "rootUrl": "https://dataproc.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -7083,7 +7093,7 @@ "additionalProperties": { "type": "string" }, - "description": "Optional. Resource manager tags (https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing) to add to all instances (see Use secure tags in Dataproc (https://cloud.google.com/dataproc/docs/guides/attach-secure-tags)).", + "description": "Optional. Resource manager tags (https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing) to add to all instances (see Use secure tags in Dataproc (https://cloud.google.com/dataproc/docs/guides/use-secure-tags)).", "type": "object" }, "serviceAccount": { @@ -8391,6 +8401,13 @@ "$ref": "Operation" }, "type": "array" + }, + "unreachable": { + "description": "Unordered list. Unreachable resources. Populated when the request sets ListOperationsRequest.return_partial_success and reads across collections e.g. when attempting to list all resources across all supported locations.", + "items": { + "type": "string" + }, + "type": "array" } }, "type": "object" @@ -12591,11 +12608,11 @@ "id": "UsageMetrics", "properties": { "acceleratorType": { - "description": "Optional. Accelerator type being used, if any", + "description": "Optional. DEPRECATED Accelerator type being used, if any", "type": "string" }, "milliAcceleratorSeconds": { - "description": "Optional. Accelerator usage in (milliAccelerator x seconds) (see Dataproc Serverless pricing (https://cloud.google.com/dataproc-serverless/pricing)).", + "description": "Optional. DEPRECATED Accelerator usage in (milliAccelerator x seconds) (see Dataproc Serverless pricing (https://cloud.google.com/dataproc-serverless/pricing)).", "format": "int64", "type": "string" }, @@ -13005,6 +13022,11 @@ "description": "A YARN application created by a job. Application information is a subset of org.apache.hadoop.yarn.proto.YarnProtos.ApplicationReportProto.Beta Feature: This report is available for testing purposes only. It may be changed before final release.", "id": "YarnApplication", "properties": { + "memoryMbSeconds": { + "description": "Optional. The cumulative memory usage of the application for a job, measured in mb-seconds.", + "format": "int64", + "type": "string" + }, "name": { "description": "Required. The application name.", "type": "string" @@ -13043,6 +13065,11 @@ "trackingUrl": { "description": "Optional. The HTTP URL of the ApplicationMaster, HistoryServer, or TimelineServer that provides application-specific information. The URL uses the internal hostname, and requires a proxy server for resolution and, possibly, access.", "type": "string" + }, + "vcoreSeconds": { + "description": "Optional. The cumulative CPU time consumed by the application for a job, measured in vcore-seconds.", + "format": "int64", + "type": "string" } }, "type": "object" diff --git a/discovery/datastore-v1.json b/discovery/datastore-v1.json index 31045d0f6a3..ce1567c64fc 100644 --- a/discovery/datastore-v1.json +++ b/discovery/datastore-v1.json @@ -467,6 +467,16 @@ "description": "Regional Endpoint", "endpointUrl": "https://datastore.us.rep.googleapis.com/", "location": "us" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://batch-datastore.eu.rep.googleapis.com/", + "location": "eu" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://batch-datastore.us.rep.googleapis.com/", + "location": "us" } ], "fullyEncodeReservedExpansion": true, @@ -1111,7 +1121,7 @@ } } }, - "revision": "20251001", + "revision": "20251014", "rootUrl": "https://datastore.googleapis.com/", "schemas": { "Aggregation": { diff --git a/discovery/datastore-v1beta1.json b/discovery/datastore-v1beta1.json index 03f2e7a03a6..ea299fcaf90 100644 --- a/discovery/datastore-v1beta1.json +++ b/discovery/datastore-v1beta1.json @@ -467,6 +467,16 @@ "description": "Regional Endpoint", "endpointUrl": "https://datastore.us.rep.googleapis.com/", "location": "us" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://batch-datastore.eu.rep.googleapis.com/", + "location": "eu" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://batch-datastore.us.rep.googleapis.com/", + "location": "us" } ], "fullyEncodeReservedExpansion": true, @@ -620,7 +630,7 @@ } } }, - "revision": "20251001", + "revision": "20251014", "rootUrl": "https://datastore.googleapis.com/", "schemas": { "GoogleDatastoreAdminV1CommonMetadata": { diff --git a/discovery/datastore-v1beta3.json b/discovery/datastore-v1beta3.json index 3c25e56afb3..ef144921280 100644 --- a/discovery/datastore-v1beta3.json +++ b/discovery/datastore-v1beta3.json @@ -467,6 +467,16 @@ "description": "Regional Endpoint", "endpointUrl": "https://datastore.us.rep.googleapis.com/", "location": "us" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://batch-datastore.eu.rep.googleapis.com/", + "location": "eu" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://batch-datastore.us.rep.googleapis.com/", + "location": "us" } ], "fullyEncodeReservedExpansion": true, @@ -788,7 +798,7 @@ } } }, - "revision": "20251001", + "revision": "20251014", "rootUrl": "https://datastore.googleapis.com/", "schemas": { "Aggregation": { diff --git a/discovery/dfareporting-v4.json b/discovery/dfareporting-v4.json index dc2f2dc32de..a915e61545b 100644 --- a/discovery/dfareporting-v4.json +++ b/discovery/dfareporting-v4.json @@ -4675,11 +4675,81 @@ "scopes": [ "https://www.googleapis.com/auth/dfatrafficking" ] + }, + "retransform": { + "description": "Retransforms a dynamic feed.", + "flatPath": "studio/dynamicFeeds/{dynamicFeedsId}/retransform", + "httpMethod": "POST", + "id": "dfareporting.dynamicFeeds.retransform", + "parameterOrder": [ + "dynamicFeedId" + ], + "parameters": { + "dynamicFeedId": { + "description": "Required. Dynamic feed ID.", + "format": "int64", + "location": "path", + "pattern": "^[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "studio/dynamicFeeds/{+dynamicFeedId}/retransform", + "response": { + "$ref": "DynamicFeed" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "update": { + "description": "Updates a new dynamic feed.", + "flatPath": "studio/dynamicFeeds", + "httpMethod": "PUT", + "id": "dfareporting.dynamicFeeds.update", + "parameterOrder": [], + "parameters": {}, + "path": "studio/dynamicFeeds", + "request": { + "$ref": "DynamicFeed" + }, + "response": { + "$ref": "DynamicFeed" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] } } }, "dynamicProfiles": { "methods": { + "generateCode": { + "description": "Generates code for a dynamic profile.", + "flatPath": "studio/dynamicProfiles/{dynamicProfilesId}/generateCode", + "httpMethod": "GET", + "id": "dfareporting.dynamicProfiles.generateCode", + "parameterOrder": [ + "dynamicProfileId" + ], + "parameters": { + "dynamicProfileId": { + "description": "Required. Dynamic profile ID.", + "format": "int64", + "location": "path", + "pattern": "^[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "studio/dynamicProfiles/{+dynamicProfileId}/generateCode", + "response": { + "$ref": "DynamicProfileGenerateCodeResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, "get": { "description": "Gets a dynamic profile by ID.", "flatPath": "studio/dynamicProfiles/{dynamicProfilesId}", @@ -4724,6 +4794,29 @@ "https://www.googleapis.com/auth/dfatrafficking" ] }, + "publish": { + "description": "Publish for a dynamic profile.", + "flatPath": "studio/dynamicProfiles/{dynamicProfilesId}/publish", + "httpMethod": "POST", + "id": "dfareporting.dynamicProfiles.publish", + "parameterOrder": [ + "dynamicProfileId" + ], + "parameters": { + "dynamicProfileId": { + "description": "Required. Dynamic profile ID.", + "format": "int64", + "location": "path", + "pattern": "^[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "studio/dynamicProfiles/{+dynamicProfileId}/publish", + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, "update": { "description": "Updates an existing dynamic profile.", "flatPath": "studio/dynamicProfiles", @@ -9122,6 +9215,112 @@ } } }, + "studioCreativeAssets": { + "methods": { + "insert": { + "description": "Inserts a new studio creative asset.", + "flatPath": "studio/creativeAssets", + "httpMethod": "POST", + "id": "dfareporting.studioCreativeAssets.insert", + "mediaUpload": { + "accept": [ + "*/*" + ], + "maxSize": "1073741824", + "protocols": { + "simple": { + "multipart": true, + "path": "/upload/dfareporting/v4/studio/creativeAssets" + } + } + }, + "parameterOrder": [], + "parameters": {}, + "path": "studio/creativeAssets", + "request": { + "$ref": "DfareportingStudioCreativeAssetsInsertRequest" + }, + "response": { + "$ref": "StudioCreativeAssetsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ], + "supportsMediaUpload": true + } + } + }, + "studioCreatives": { + "methods": { + "get": { + "description": "Gets a studio creative by ID.", + "flatPath": "studio/creatives/{creativesId}", + "httpMethod": "GET", + "id": "dfareporting.studioCreatives.get", + "parameterOrder": [ + "studioCreativeId" + ], + "parameters": { + "studioCreativeId": { + "description": "Required. Studio creative ID.", + "format": "int64", + "location": "path", + "pattern": "^[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "studio/creatives/{+studioCreativeId}", + "response": { + "$ref": "StudioCreative" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "insert": { + "description": "Inserts a new studio creative.", + "flatPath": "studio/creatives", + "httpMethod": "POST", + "id": "dfareporting.studioCreatives.insert", + "parameterOrder": [], + "parameters": {}, + "path": "studio/creatives", + "request": { + "$ref": "StudioCreative" + }, + "response": { + "$ref": "StudioCreative" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "publish": { + "description": "Publish for a studio creative.", + "flatPath": "studio/creatives/{creativesId}/publish", + "httpMethod": "POST", + "id": "dfareporting.studioCreatives.publish", + "parameterOrder": [ + "studioCreativeId" + ], + "parameters": { + "studioCreativeId": { + "description": "Required. Studio creative ID.", + "format": "int64", + "location": "path", + "pattern": "^[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "studio/creatives/{+studioCreativeId}/publish", + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + } + } + }, "subaccounts": { "methods": { "get": { @@ -10266,7 +10465,7 @@ } } }, - "revision": "20250902", + "revision": "20251009", "rootUrl": "https://dfareporting.googleapis.com/", "schemas": { "Account": { @@ -12760,14 +12959,18 @@ "CREATIVE_AUTHORING_SOURCE_DBM", "CREATIVE_AUTHORING_SOURCE_STUDIO", "CREATIVE_AUTHORING_SOURCE_GWD", - "CREATIVE_AUTHORING_SOURCE_ACS" + "CREATIVE_AUTHORING_SOURCE_ACS", + "CREATIVE_AUTHORING_SOURCE_ADOBE", + "CREATIVE_AUTHORING_SOURCE_TYPEFACE_AI" ], "enumDescriptions": [ "DCM-UI or external API used to author the creative.", "DBM-UI used to author the creative.", "Studio-UI used to author the creative.", "Google Web Designer used to author the creative.", - "ACS-UI used to author the creative." + "ACS-UI used to author the creative.", + "Creative authoring source is Adobe.", + "Creative authoring source is Typeface.ai." ], "type": "string" }, @@ -15194,6 +15397,28 @@ }, "type": "object" }, + "DfareportingStudioCreativeAssetsInsertRequest": { + "description": "Request message for DfareportingStudioCreativeAssets.Insert.", + "id": "DfareportingStudioCreativeAssetsInsertRequest", + "properties": { + "studioAccountId": { + "description": "Optional. Studio account ID of the studio creative asset. It is a optional.", + "format": "int64", + "type": "string" + }, + "studioAdvertiserId": { + "description": "Required. Studio advertiser ID of the studio creative asset. It is a required field on insertion.", + "format": "int64", + "type": "string" + }, + "studioCreativeId": { + "description": "Optional. Studio creative ID of the studio creative asset. It is a optional field. If it is set, the asset will be associated to the creative.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, "DfpSettings": { "description": "Google Ad Manager Settings", "id": "DfpSettings", @@ -15545,7 +15770,7 @@ "type": "object" }, "DynamicFeedsInsertRequest": { - "description": "Dynamic profile ID is required for dynamic feed insert as the current GPA API only can create a dynamic feed under profile context,even though the dynnamic feed itself don't need the dynamic profile id. See go/cm3-dco-display-api-interface", + "description": "Dynamic profile ID is required for dynamic feed insert as the current GPA API only can create a dynamic feed under profile context,even though the dynnamic feed itself don't need the dynamic profile id. See", "id": "DynamicFeedsInsertRequest", "properties": { "dynamicFeed": { @@ -15660,6 +15885,17 @@ }, "type": "object" }, + "DynamicProfileGenerateCodeResponse": { + "description": "Response message for DfareportingDynamicProfiles.GenerateCode.", + "id": "DynamicProfileGenerateCodeResponse", + "properties": { + "code": { + "description": "Generated code for the dynamic profile.", + "type": "string" + } + }, + "type": "object" + }, "DynamicProfileVersion": { "description": "Contains dynamic profile version information.", "id": "DynamicProfileVersion", @@ -21361,6 +21597,207 @@ }, "type": "object" }, + "StudioCreative": { + "description": "Contains studio creative information.", + "id": "StudioCreative", + "properties": { + "assetIds": { + "description": "List of assets associated with this studio creative. It is a required field on insertion.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + }, + "backupImageAssetId": { + "description": "Backup image asset ID of this studio creative.", + "format": "int64", + "type": "string" + }, + "createdInfo": { + "$ref": "LastModifiedInfo", + "description": "The timestamp when the studio creative was created. This is a read-only, auto-generated field." + }, + "dimension": { + "$ref": "StudioCreativeDimension", + "description": "Dimension of this studio creative. This is a required field on insertion if format is BANNER or EXPANDING." + }, + "dynamicProfileId": { + "description": "Dynamic profile ID of this studio creative.", + "format": "int64", + "type": "string" + }, + "format": { + "description": "Format of this studio creative. This is a required field on insertion.", + "enum": [ + "UNKNOWN", + "BANNER", + "EXPANDING", + "INTERSTITIAL", + "VPAID_LINEAR_VIDEO" + ], + "enumDescriptions": [ + "The format of the studio creative is unknown. This value is unused.", + "Banner format.", + "Expanding format.", + "Intertitial format.", + "VPAID linear video creative format." + ], + "type": "string" + }, + "id": { + "description": "Output only. Unique ID of this studio creative. This is a read-only, auto-generated field.", + "format": "int64", + "readOnly": true, + "type": "string" + }, + "lastModifiedInfo": { + "$ref": "LastModifiedInfo", + "description": "The timestamp when the studio creative was last modified. This is a read-only, auto-generated field." + }, + "name": { + "description": "Identifier. Name of this studio creative. This is a required field on insertion.", + "type": "string" + }, + "status": { + "description": "Output only. Status of this studio creative. It is a read-only field.", + "enum": [ + "UNKNOWN_STATUS", + "IN_DEVELOPMENT", + "PUBLISHED", + "QA_REJECTED", + "QA_APPROVED", + "TRAFFICKED" + ], + "enumDescriptions": [ + "The status of the studio creative is unknown. This value is unused.", + "The creative is still being developed.", + "The creative has been published and is ready for QA.", + "The creative has failed QA and must be corrected.", + "The creative has passed QA and is ready to be trafficked.", + "The creative has been trafficked to an adserver." + ], + "readOnly": true, + "type": "string" + }, + "studioAccountId": { + "description": "Studio account ID of this creative. This field, if left unset, will be auto-populated.", + "format": "int64", + "type": "string" + }, + "studioAdvertiserId": { + "description": "Studio advertiser ID of this studio creative. This is a required field on insertion.", + "format": "int64", + "type": "string" + }, + "studioCampaignId": { + "description": "Studio campaign ID of this studio creative. This is a required field on insertion.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "StudioCreativeAsset": { + "description": "Contains studio creative asset information.", + "id": "StudioCreativeAsset", + "properties": { + "createInfo": { + "$ref": "LastModifiedInfo", + "description": "Output only. The creation timestamp of the studio creative asset. This is a read-only field.", + "readOnly": true + }, + "filename": { + "description": "The filename of the studio creative asset. It is default to the original filename of the asset.", + "type": "string" + }, + "filesize": { + "description": "The filesize of the studio creative asset. This is a read-only field.", + "format": "int64", + "type": "string" + }, + "id": { + "description": "Output only. Unique ID of this studio creative asset. This is a read-only, auto-generated field.", + "format": "int64", + "readOnly": true, + "type": "string" + }, + "lastModifiedInfo": { + "$ref": "LastModifiedInfo", + "description": "Output only. The last modified timestamp of the studio creative asset. This is a read-only field.", + "readOnly": true + }, + "studioAccountId": { + "description": "Studio account ID of this studio creative asset. This field, if left unset, will be auto-populated..", + "format": "int64", + "type": "string" + }, + "studioAdvertiserId": { + "description": "Studio advertiser ID of this studio creative asset. This is a required field on insertion.", + "format": "int64", + "type": "string" + }, + "studioCreativeId": { + "description": "Studio creative ID of this studio creative asset. The asset will be associated to the creative if creative id is set.", + "format": "int64", + "type": "string" + }, + "type": { + "description": "The type of the studio creative asset. It is a auto-generated, read-only field.", + "enum": [ + "UNKNOWN_TYPE", + "HTML", + "VIDEO", + "IMAGE", + "FONT" + ], + "enumDescriptions": [ + "Unknown type of asset.", + "The asset is an HTML file.", + "The asset is a video file.", + "The asset is an image file.", + "The asset is a font file." + ], + "type": "string" + }, + "videoProcessingData": { + "$ref": "VideoProcessingData", + "description": "The processing data of the studio creative asset. This is a read-only field." + } + }, + "type": "object" + }, + "StudioCreativeAssetsResponse": { + "description": "Response message for DfareportingStudioCreativeAssets.Insert.", + "id": "StudioCreativeAssetsResponse", + "properties": { + "assets": { + "description": "The list of studio creative assets.", + "items": { + "$ref": "StudioCreativeAsset" + }, + "type": "array" + } + }, + "type": "object" + }, + "StudioCreativeDimension": { + "description": "Dimension information for a studio creative.", + "id": "StudioCreativeDimension", + "properties": { + "height": { + "description": "Height of the studio creative.", + "format": "int32", + "type": "integer" + }, + "width": { + "description": "Width of the studio creative.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "Subaccount": { "description": "Contains properties of a Campaign Manager subaccount.", "id": "Subaccount", @@ -22624,6 +23061,34 @@ }, "type": "object" }, + "VideoProcessingData": { + "description": "Contains processing data for a video asset.", + "id": "VideoProcessingData", + "properties": { + "errorReason": { + "description": "For a FAILED processing state, the error reason discovered.", + "type": "string" + }, + "processingState": { + "description": "Output only. The processing state of the studio creative asset.", + "enum": [ + "UNKNOWN", + "PROCESSING", + "SUCCEEDED", + "FAILED" + ], + "enumDescriptions": [ + "The processing state is unknown.", + "The asset is being processed.", + "The asset was successfully processed.", + "The asset failed to be processed." + ], + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "VideoSettings": { "description": "Video Settings", "id": "VideoSettings", diff --git a/discovery/dfareporting-v5.json b/discovery/dfareporting-v5.json index 27f7a4980c0..938fcc2f9ac 100644 --- a/discovery/dfareporting-v5.json +++ b/discovery/dfareporting-v5.json @@ -4675,11 +4675,81 @@ "scopes": [ "https://www.googleapis.com/auth/dfatrafficking" ] + }, + "retransform": { + "description": "Retransforms a dynamic feed.", + "flatPath": "studio/dynamicFeeds/{dynamicFeedsId}/retransform", + "httpMethod": "POST", + "id": "dfareporting.dynamicFeeds.retransform", + "parameterOrder": [ + "dynamicFeedId" + ], + "parameters": { + "dynamicFeedId": { + "description": "Required. Dynamic feed ID.", + "format": "int64", + "location": "path", + "pattern": "^[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "studio/dynamicFeeds/{+dynamicFeedId}/retransform", + "response": { + "$ref": "DynamicFeed" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "update": { + "description": "Updates a new dynamic feed.", + "flatPath": "studio/dynamicFeeds", + "httpMethod": "PUT", + "id": "dfareporting.dynamicFeeds.update", + "parameterOrder": [], + "parameters": {}, + "path": "studio/dynamicFeeds", + "request": { + "$ref": "DynamicFeed" + }, + "response": { + "$ref": "DynamicFeed" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] } } }, "dynamicProfiles": { "methods": { + "generateCode": { + "description": "Generates code for a dynamic profile.", + "flatPath": "studio/dynamicProfiles/{dynamicProfilesId}/generateCode", + "httpMethod": "GET", + "id": "dfareporting.dynamicProfiles.generateCode", + "parameterOrder": [ + "dynamicProfileId" + ], + "parameters": { + "dynamicProfileId": { + "description": "Required. Dynamic profile ID.", + "format": "int64", + "location": "path", + "pattern": "^[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "studio/dynamicProfiles/{+dynamicProfileId}/generateCode", + "response": { + "$ref": "DynamicProfileGenerateCodeResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, "get": { "description": "Gets a dynamic profile by ID.", "flatPath": "studio/dynamicProfiles/{dynamicProfilesId}", @@ -4724,6 +4794,29 @@ "https://www.googleapis.com/auth/dfatrafficking" ] }, + "publish": { + "description": "Publish for a dynamic profile.", + "flatPath": "studio/dynamicProfiles/{dynamicProfilesId}/publish", + "httpMethod": "POST", + "id": "dfareporting.dynamicProfiles.publish", + "parameterOrder": [ + "dynamicProfileId" + ], + "parameters": { + "dynamicProfileId": { + "description": "Required. Dynamic profile ID.", + "format": "int64", + "location": "path", + "pattern": "^[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "studio/dynamicProfiles/{+dynamicProfileId}/publish", + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, "update": { "description": "Updates an existing dynamic profile.", "flatPath": "studio/dynamicProfiles", @@ -8662,6 +8755,112 @@ } } }, + "studioCreativeAssets": { + "methods": { + "insert": { + "description": "Inserts a new studio creative asset.", + "flatPath": "studio/creativeAssets", + "httpMethod": "POST", + "id": "dfareporting.studioCreativeAssets.insert", + "mediaUpload": { + "accept": [ + "*/*" + ], + "maxSize": "1073741824", + "protocols": { + "simple": { + "multipart": true, + "path": "/upload/dfareporting/v5/studio/creativeAssets" + } + } + }, + "parameterOrder": [], + "parameters": {}, + "path": "studio/creativeAssets", + "request": { + "$ref": "DfareportingStudioCreativeAssetsInsertRequest" + }, + "response": { + "$ref": "StudioCreativeAssetsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ], + "supportsMediaUpload": true + } + } + }, + "studioCreatives": { + "methods": { + "get": { + "description": "Gets a studio creative by ID.", + "flatPath": "studio/creatives/{creativesId}", + "httpMethod": "GET", + "id": "dfareporting.studioCreatives.get", + "parameterOrder": [ + "studioCreativeId" + ], + "parameters": { + "studioCreativeId": { + "description": "Required. Studio creative ID.", + "format": "int64", + "location": "path", + "pattern": "^[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "studio/creatives/{+studioCreativeId}", + "response": { + "$ref": "StudioCreative" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "insert": { + "description": "Inserts a new studio creative.", + "flatPath": "studio/creatives", + "httpMethod": "POST", + "id": "dfareporting.studioCreatives.insert", + "parameterOrder": [], + "parameters": {}, + "path": "studio/creatives", + "request": { + "$ref": "StudioCreative" + }, + "response": { + "$ref": "StudioCreative" + }, + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + }, + "publish": { + "description": "Publish for a studio creative.", + "flatPath": "studio/creatives/{creativesId}/publish", + "httpMethod": "POST", + "id": "dfareporting.studioCreatives.publish", + "parameterOrder": [ + "studioCreativeId" + ], + "parameters": { + "studioCreativeId": { + "description": "Required. Studio creative ID.", + "format": "int64", + "location": "path", + "pattern": "^[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "studio/creatives/{+studioCreativeId}/publish", + "scopes": [ + "https://www.googleapis.com/auth/dfatrafficking" + ] + } + } + }, "subaccounts": { "methods": { "get": { @@ -9806,7 +10005,7 @@ } } }, - "revision": "20250902", + "revision": "20251009", "rootUrl": "https://dfareporting.googleapis.com/", "schemas": { "Account": { @@ -12234,14 +12433,18 @@ "CREATIVE_AUTHORING_SOURCE_DBM", "CREATIVE_AUTHORING_SOURCE_STUDIO", "CREATIVE_AUTHORING_SOURCE_GWD", - "CREATIVE_AUTHORING_SOURCE_ACS" + "CREATIVE_AUTHORING_SOURCE_ACS", + "CREATIVE_AUTHORING_SOURCE_ADOBE", + "CREATIVE_AUTHORING_SOURCE_TYPEFACE_AI" ], "enumDescriptions": [ "DCM-UI or external API used to author the creative.", "DBM-UI used to author the creative.", "Studio-UI used to author the creative.", "Google Web Designer used to author the creative.", - "ACS-UI used to author the creative." + "ACS-UI used to author the creative.", + "Creative authoring source is Adobe.", + "Creative authoring source is Typeface.ai." ], "type": "string" }, @@ -14641,6 +14844,28 @@ }, "type": "object" }, + "DfareportingStudioCreativeAssetsInsertRequest": { + "description": "Request message for DfareportingStudioCreativeAssets.Insert.", + "id": "DfareportingStudioCreativeAssetsInsertRequest", + "properties": { + "studioAccountId": { + "description": "Optional. Studio account ID of the studio creative asset. It is a optional.", + "format": "int64", + "type": "string" + }, + "studioAdvertiserId": { + "description": "Required. Studio advertiser ID of the studio creative asset. It is a required field on insertion.", + "format": "int64", + "type": "string" + }, + "studioCreativeId": { + "description": "Optional. Studio creative ID of the studio creative asset. It is a optional field. If it is set, the asset will be associated to the creative.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, "DfpSettings": { "description": "Google Ad Manager Settings", "id": "DfpSettings", @@ -14992,7 +15217,7 @@ "type": "object" }, "DynamicFeedsInsertRequest": { - "description": "Dynamic profile ID is required for dynamic feed insert as the current GPA API only can create a dynamic feed under profile context,even though the dynnamic feed itself don't need the dynamic profile id. See go/cm3-dco-display-api-interface", + "description": "Dynamic profile ID is required for dynamic feed insert as the current GPA API only can create a dynamic feed under profile context,even though the dynnamic feed itself don't need the dynamic profile id. See", "id": "DynamicFeedsInsertRequest", "properties": { "dynamicFeed": { @@ -15107,6 +15332,17 @@ }, "type": "object" }, + "DynamicProfileGenerateCodeResponse": { + "description": "Response message for DfareportingDynamicProfiles.GenerateCode.", + "id": "DynamicProfileGenerateCodeResponse", + "properties": { + "code": { + "description": "Generated code for the dynamic profile.", + "type": "string" + } + }, + "type": "object" + }, "DynamicProfileVersion": { "description": "Contains dynamic profile version information.", "id": "DynamicProfileVersion", @@ -16127,7 +16363,7 @@ "User visiting a page.", "Software download action (as for an app). A conversion type that is created as a download type may not have its category changed.", "Boom event (for user list creation). This is an internal-only category.", - "The following are conversion categories added as part of go/new-categories-prd. The addition of items to a shopping cart or bag on an advertiser site.", + ". The addition of items to a shopping cart or bag on an advertiser site.", "When someone enters the checkout flow on an advertiser site.", "The start of a paid subscription for a product or service.", "The start of a free subscription for a product or service.", @@ -16140,12 +16376,12 @@ "A click to an advertiser's partner site, e.g. a referral.", "A call, SMS, email, chat or other type of contact to an advertiser.", "Key page views (ex: product page, article).", - "A website engagement event such as long site time or a GA Smart Goal, intended to be used for GA, Firebase, GA Gold goal imports. This will also be used for YouTube Hosted engagements like Add To Playlist, Likes etc. See go/add-to-playlist-conversion-buyside", + "A website engagement event", "A visit to a physical store location.", "A sale occurring in a physical store.", - "End of new conversion categories from go/new-categories-prd. A lead conversion imported from an external source into Google Ads, that has been further qualified by the advertiser.", + "A lead conversion imported from an external source into Google Ads, that has been further qualified by the advertiser.", "A lead conversion imported from an external source into Google Ads, that has further completed a desired stage as defined by the lead gen advertiser.", - "Conversion event that provides the revenue value of impressions that were shown in-app to users. See go/ad-impression-type.", + "Conversion event that provides the revenue value of impressions that were shown in-app to users.", "Message exchanges which indicate an interest in an advertiser's offering." ], "type": "string" @@ -20232,6 +20468,207 @@ }, "type": "object" }, + "StudioCreative": { + "description": "Contains studio creative information.", + "id": "StudioCreative", + "properties": { + "assetIds": { + "description": "List of assets associated with this studio creative. It is a required field on insertion.", + "items": { + "format": "int64", + "type": "string" + }, + "type": "array" + }, + "backupImageAssetId": { + "description": "Backup image asset ID of this studio creative.", + "format": "int64", + "type": "string" + }, + "createdInfo": { + "$ref": "LastModifiedInfo", + "description": "The timestamp when the studio creative was created. This is a read-only, auto-generated field." + }, + "dimension": { + "$ref": "StudioCreativeDimension", + "description": "Dimension of this studio creative. This is a required field on insertion if format is BANNER or EXPANDING." + }, + "dynamicProfileId": { + "description": "Dynamic profile ID of this studio creative.", + "format": "int64", + "type": "string" + }, + "format": { + "description": "Format of this studio creative. This is a required field on insertion.", + "enum": [ + "UNKNOWN", + "BANNER", + "EXPANDING", + "INTERSTITIAL", + "VPAID_LINEAR_VIDEO" + ], + "enumDescriptions": [ + "The format of the studio creative is unknown. This value is unused.", + "Banner format.", + "Expanding format.", + "Intertitial format.", + "VPAID linear video creative format." + ], + "type": "string" + }, + "id": { + "description": "Output only. Unique ID of this studio creative. This is a read-only, auto-generated field.", + "format": "int64", + "readOnly": true, + "type": "string" + }, + "lastModifiedInfo": { + "$ref": "LastModifiedInfo", + "description": "The timestamp when the studio creative was last modified. This is a read-only, auto-generated field." + }, + "name": { + "description": "Identifier. Name of this studio creative. This is a required field on insertion.", + "type": "string" + }, + "status": { + "description": "Output only. Status of this studio creative. It is a read-only field.", + "enum": [ + "UNKNOWN_STATUS", + "IN_DEVELOPMENT", + "PUBLISHED", + "QA_REJECTED", + "QA_APPROVED", + "TRAFFICKED" + ], + "enumDescriptions": [ + "The status of the studio creative is unknown. This value is unused.", + "The creative is still being developed.", + "The creative has been published and is ready for QA.", + "The creative has failed QA and must be corrected.", + "The creative has passed QA and is ready to be trafficked.", + "The creative has been trafficked to an adserver." + ], + "readOnly": true, + "type": "string" + }, + "studioAccountId": { + "description": "Studio account ID of this creative. This field, if left unset, will be auto-populated.", + "format": "int64", + "type": "string" + }, + "studioAdvertiserId": { + "description": "Studio advertiser ID of this studio creative. This is a required field on insertion.", + "format": "int64", + "type": "string" + }, + "studioCampaignId": { + "description": "Studio campaign ID of this studio creative. This is a required field on insertion.", + "format": "int64", + "type": "string" + } + }, + "type": "object" + }, + "StudioCreativeAsset": { + "description": "Contains studio creative asset information.", + "id": "StudioCreativeAsset", + "properties": { + "createInfo": { + "$ref": "LastModifiedInfo", + "description": "Output only. The creation timestamp of the studio creative asset. This is a read-only field.", + "readOnly": true + }, + "filename": { + "description": "The filename of the studio creative asset. It is default to the original filename of the asset.", + "type": "string" + }, + "filesize": { + "description": "The filesize of the studio creative asset. This is a read-only field.", + "format": "int64", + "type": "string" + }, + "id": { + "description": "Output only. Unique ID of this studio creative asset. This is a read-only, auto-generated field.", + "format": "int64", + "readOnly": true, + "type": "string" + }, + "lastModifiedInfo": { + "$ref": "LastModifiedInfo", + "description": "Output only. The last modified timestamp of the studio creative asset. This is a read-only field.", + "readOnly": true + }, + "studioAccountId": { + "description": "Studio account ID of this studio creative asset. This field, if left unset, will be auto-populated..", + "format": "int64", + "type": "string" + }, + "studioAdvertiserId": { + "description": "Studio advertiser ID of this studio creative asset. This is a required field on insertion.", + "format": "int64", + "type": "string" + }, + "studioCreativeId": { + "description": "Studio creative ID of this studio creative asset. The asset will be associated to the creative if creative id is set.", + "format": "int64", + "type": "string" + }, + "type": { + "description": "The type of the studio creative asset. It is a auto-generated, read-only field.", + "enum": [ + "UNKNOWN_TYPE", + "HTML", + "VIDEO", + "IMAGE", + "FONT" + ], + "enumDescriptions": [ + "Unknown type of asset.", + "The asset is an HTML file.", + "The asset is a video file.", + "The asset is an image file.", + "The asset is a font file." + ], + "type": "string" + }, + "videoProcessingData": { + "$ref": "VideoProcessingData", + "description": "The processing data of the studio creative asset. This is a read-only field." + } + }, + "type": "object" + }, + "StudioCreativeAssetsResponse": { + "description": "Response message for DfareportingStudioCreativeAssets.Insert.", + "id": "StudioCreativeAssetsResponse", + "properties": { + "assets": { + "description": "The list of studio creative assets.", + "items": { + "$ref": "StudioCreativeAsset" + }, + "type": "array" + } + }, + "type": "object" + }, + "StudioCreativeDimension": { + "description": "Dimension information for a studio creative.", + "id": "StudioCreativeDimension", + "properties": { + "height": { + "description": "Height of the studio creative.", + "format": "int32", + "type": "integer" + }, + "width": { + "description": "Width of the studio creative.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "Subaccount": { "description": "Contains properties of a Campaign Manager subaccount.", "id": "Subaccount", @@ -21495,6 +21932,34 @@ }, "type": "object" }, + "VideoProcessingData": { + "description": "Contains processing data for a video asset.", + "id": "VideoProcessingData", + "properties": { + "errorReason": { + "description": "For a FAILED processing state, the error reason discovered.", + "type": "string" + }, + "processingState": { + "description": "Output only. The processing state of the studio creative asset.", + "enum": [ + "UNKNOWN", + "PROCESSING", + "SUCCEEDED", + "FAILED" + ], + "enumDescriptions": [ + "The processing state is unknown.", + "The asset is being processed.", + "The asset was successfully processed.", + "The asset failed to be processed." + ], + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "VideoSettings": { "description": "Video Settings", "id": "VideoSettings", diff --git a/discovery/discoveryengine-v1.json b/discovery/discoveryengine-v1.json index 656883ec609..bcf2029ba1d 100644 --- a/discovery/discoveryengine-v1.json +++ b/discovery/discoveryengine-v1.json @@ -7,6 +7,12 @@ }, "https://www.googleapis.com/auth/cloud_search.query": { "description": "Search your organization's data in the Cloud Search index" + }, + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite": { + "description": "View your Agentspace chat history, including uploaded files and generated reports and visualizations, and interact with the Agentspace assistant on your behalf." + }, + "https://www.googleapis.com/auth/discoveryengine.readwrite": { + "description": "View, edit, create, and delete all your data associated with any Discovery Engine API product, such as Agentspace, Vertex AI Search, or NotebookLM Enterprise, including both end user data and administration or configuration data." } } } @@ -169,7 +175,9 @@ "$ref": "GdataMedia" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ], "supportsMediaDownload": true, "useMediaDownloadService": true @@ -203,7 +211,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } }, @@ -232,7 +241,8 @@ "$ref": "GoogleCloudDiscoveryengineV1AclConfig" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "getCmekConfig": { @@ -257,7 +267,8 @@ "$ref": "GoogleCloudDiscoveryengineV1CmekConfig" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "setUpDataConnector": { @@ -285,7 +296,9 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "setUpDataConnectorV2": { @@ -323,7 +336,9 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "updateAclConfig": { @@ -351,7 +366,8 @@ "$ref": "GoogleCloudDiscoveryengineV1AclConfig" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "updateCmekConfig": { @@ -384,7 +400,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } }, @@ -413,7 +430,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -438,7 +456,8 @@ "$ref": "GoogleCloudDiscoveryengineV1CmekConfig" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -463,7 +482,8 @@ "$ref": "GoogleCloudDiscoveryengineV1ListCmekConfigsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -496,7 +516,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -525,7 +546,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "getDataConnector": { @@ -550,7 +572,9 @@ "$ref": "GoogleCloudDiscoveryengineV1DataConnector" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "updateDataConnector": { @@ -584,7 +608,9 @@ "$ref": "GoogleCloudDiscoveryengineV1DataConnector" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } }, @@ -615,7 +641,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -661,7 +688,8 @@ "$ref": "GoogleLongrunningListOperationsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -712,7 +740,9 @@ "$ref": "GoogleCloudDiscoveryengineV1CompleteQueryResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "create": { @@ -765,7 +795,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -790,7 +821,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -815,7 +847,8 @@ "$ref": "GoogleCloudDiscoveryengineV1DataStore" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "getSiteSearchEngine": { @@ -840,7 +873,8 @@ "$ref": "GoogleCloudDiscoveryengineV1SiteSearchEngine" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -881,7 +915,8 @@ "$ref": "GoogleCloudDiscoveryengineV1ListDataStoresResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -915,7 +950,8 @@ "$ref": "GoogleCloudDiscoveryengineV1DataStore" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "trainCustomModel": { @@ -943,7 +979,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } }, @@ -984,7 +1021,8 @@ "$ref": "GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } }, @@ -1021,7 +1059,8 @@ "$ref": "GoogleCloudDiscoveryengineV1Document" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -1046,7 +1085,8 @@ "$ref": "GoogleProtobufEmpty" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -1071,7 +1111,8 @@ "$ref": "GoogleCloudDiscoveryengineV1Document" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "import": { @@ -1099,7 +1140,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -1135,7 +1177,8 @@ "$ref": "GoogleCloudDiscoveryengineV1ListDocumentsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -1174,7 +1217,8 @@ "$ref": "GoogleCloudDiscoveryengineV1Document" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "purge": { @@ -1202,7 +1246,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -1234,7 +1279,8 @@ "$ref": "GoogleProtobufEmpty" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -1259,7 +1305,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -1305,7 +1352,8 @@ "$ref": "GoogleLongrunningListOperationsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -1340,7 +1388,9 @@ }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud_search.query" + "https://www.googleapis.com/auth/cloud_search.query", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -1372,7 +1422,9 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "purge": { @@ -1400,7 +1452,9 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -1437,7 +1491,8 @@ "$ref": "GoogleCloudDiscoveryengineV1Control" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -1462,7 +1517,8 @@ "$ref": "GoogleProtobufEmpty" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -1487,7 +1543,8 @@ "$ref": "GoogleCloudDiscoveryengineV1Control" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -1528,7 +1585,8 @@ "$ref": "GoogleCloudDiscoveryengineV1ListControlsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -1562,7 +1620,8 @@ "$ref": "GoogleCloudDiscoveryengineV1Control" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -1594,7 +1653,8 @@ "$ref": "GoogleCloudDiscoveryengineV1ConverseConversationResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "create": { @@ -1622,7 +1682,8 @@ "$ref": "GoogleCloudDiscoveryengineV1Conversation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -1647,7 +1708,8 @@ "$ref": "GoogleProtobufEmpty" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -1672,7 +1734,8 @@ "$ref": "GoogleCloudDiscoveryengineV1Conversation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -1718,7 +1781,8 @@ "$ref": "GoogleCloudDiscoveryengineV1ListConversationsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -1752,7 +1816,8 @@ "$ref": "GoogleCloudDiscoveryengineV1Conversation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -1781,7 +1846,8 @@ "$ref": "GoogleCloudDiscoveryengineV1ListCustomModelsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -1812,7 +1878,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -1858,7 +1925,8 @@ "$ref": "GoogleLongrunningListOperationsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -1889,7 +1957,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -1935,7 +2004,8 @@ "$ref": "GoogleLongrunningListOperationsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -1972,7 +2042,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -1997,7 +2068,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -2022,7 +2094,8 @@ "$ref": "GoogleCloudDiscoveryengineV1Schema" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -2058,7 +2131,8 @@ "$ref": "GoogleCloudDiscoveryengineV1ListSchemasResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -2091,7 +2165,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } }, @@ -2120,7 +2195,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -2166,7 +2242,8 @@ "$ref": "GoogleLongrunningListOperationsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -2200,7 +2277,8 @@ "$ref": "GoogleCloudDiscoveryengineV1AnswerQueryResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -2234,7 +2312,8 @@ "$ref": "GoogleCloudDiscoveryengineV1ServingConfig" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "recommend": { @@ -2262,7 +2341,8 @@ "$ref": "GoogleCloudDiscoveryengineV1RecommendResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "search": { @@ -2290,7 +2370,9 @@ "$ref": "GoogleCloudDiscoveryengineV1SearchResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "searchLite": { @@ -2318,7 +2400,9 @@ "$ref": "GoogleCloudDiscoveryengineV1SearchResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "streamAnswer": { @@ -2346,7 +2430,8 @@ "$ref": "GoogleCloudDiscoveryengineV1AnswerQueryResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -2378,7 +2463,9 @@ "$ref": "GoogleCloudDiscoveryengineV1Session" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -2403,7 +2490,9 @@ "$ref": "GoogleProtobufEmpty" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -2433,7 +2522,9 @@ "$ref": "GoogleCloudDiscoveryengineV1Session" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -2479,7 +2570,9 @@ "$ref": "GoogleCloudDiscoveryengineV1ListSessionsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -2513,7 +2606,9 @@ "$ref": "GoogleCloudDiscoveryengineV1Session" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } }, @@ -2542,7 +2637,8 @@ "$ref": "GoogleCloudDiscoveryengineV1Answer" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -2576,7 +2672,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "disableAdvancedSiteSearch": { @@ -2604,7 +2701,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "enableAdvancedSiteSearch": { @@ -2632,7 +2730,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "fetchDomainVerificationStatus": { @@ -2668,7 +2767,8 @@ "$ref": "GoogleCloudDiscoveryengineV1FetchDomainVerificationStatusResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "recrawlUris": { @@ -2696,7 +2796,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } }, @@ -2725,7 +2826,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -2771,7 +2873,8 @@ "$ref": "GoogleLongrunningListOperationsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -2803,7 +2906,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -2828,7 +2932,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "fetch": { @@ -2859,7 +2964,8 @@ "$ref": "GoogleCloudDiscoveryengineV1FetchSitemapsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -2891,7 +2997,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "create": { @@ -2919,7 +3026,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -2944,7 +3052,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -2969,7 +3078,8 @@ "$ref": "GoogleCloudDiscoveryengineV1TargetSite" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -3005,7 +3115,8 @@ "$ref": "GoogleCloudDiscoveryengineV1ListTargetSitesResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -3033,7 +3144,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } }, @@ -3062,7 +3174,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -3108,7 +3221,8 @@ "$ref": "GoogleLongrunningListOperationsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -3144,7 +3258,9 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "purge": { @@ -3172,7 +3288,9 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -3217,7 +3335,9 @@ "$ref": "GoogleApiHttpBody" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "import": { @@ -3245,7 +3365,9 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "purge": { @@ -3273,7 +3395,9 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "write": { @@ -3306,7 +3430,9 @@ "$ref": "GoogleCloudDiscoveryengineV1UserEvent" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -3345,7 +3471,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -3370,7 +3497,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -3395,7 +3523,8 @@ "$ref": "GoogleCloudDiscoveryengineV1Engine" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -3436,7 +3565,8 @@ "$ref": "GoogleCloudDiscoveryengineV1ListEnginesResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -3470,7 +3600,8 @@ "$ref": "GoogleCloudDiscoveryengineV1Engine" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } }, @@ -3499,7 +3630,9 @@ "$ref": "GoogleCloudDiscoveryengineV1Assistant" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -3533,7 +3666,9 @@ "$ref": "GoogleCloudDiscoveryengineV1Assistant" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "streamAssist": { @@ -3561,7 +3696,9 @@ "$ref": "GoogleCloudDiscoveryengineV1StreamAssistResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -3594,7 +3731,9 @@ }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud_search.query" + "https://www.googleapis.com/auth/cloud_search.query", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -3631,7 +3770,8 @@ "$ref": "GoogleCloudDiscoveryengineV1Control" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -3656,7 +3796,8 @@ "$ref": "GoogleProtobufEmpty" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -3681,7 +3822,8 @@ "$ref": "GoogleCloudDiscoveryengineV1Control" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -3722,7 +3864,8 @@ "$ref": "GoogleCloudDiscoveryengineV1ListControlsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -3756,7 +3899,8 @@ "$ref": "GoogleCloudDiscoveryengineV1Control" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -3788,7 +3932,8 @@ "$ref": "GoogleCloudDiscoveryengineV1ConverseConversationResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "create": { @@ -3816,7 +3961,8 @@ "$ref": "GoogleCloudDiscoveryengineV1Conversation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -3841,7 +3987,8 @@ "$ref": "GoogleProtobufEmpty" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -3866,7 +4013,8 @@ "$ref": "GoogleCloudDiscoveryengineV1Conversation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -3912,7 +4060,8 @@ "$ref": "GoogleCloudDiscoveryengineV1ListConversationsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -3946,7 +4095,8 @@ "$ref": "GoogleCloudDiscoveryengineV1Conversation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -3978,7 +4128,8 @@ "$ref": "GoogleProtobufEmpty" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -4003,7 +4154,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -4049,7 +4201,8 @@ "$ref": "GoogleLongrunningListOperationsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -4081,7 +4234,8 @@ "$ref": "GoogleCloudDiscoveryengineV1AnswerQueryResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -4115,7 +4269,8 @@ "$ref": "GoogleCloudDiscoveryengineV1ServingConfig" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "recommend": { @@ -4143,7 +4298,8 @@ "$ref": "GoogleCloudDiscoveryengineV1RecommendResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "search": { @@ -4171,7 +4327,9 @@ "$ref": "GoogleCloudDiscoveryengineV1SearchResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "searchLite": { @@ -4199,7 +4357,9 @@ "$ref": "GoogleCloudDiscoveryengineV1SearchResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "streamAnswer": { @@ -4227,7 +4387,8 @@ "$ref": "GoogleCloudDiscoveryengineV1AnswerQueryResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -4259,7 +4420,9 @@ "$ref": "GoogleCloudDiscoveryengineV1Session" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -4284,7 +4447,9 @@ "$ref": "GoogleProtobufEmpty" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -4314,7 +4479,9 @@ "$ref": "GoogleCloudDiscoveryengineV1Session" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -4360,7 +4527,9 @@ "$ref": "GoogleCloudDiscoveryengineV1ListSessionsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -4394,7 +4563,9 @@ "$ref": "GoogleCloudDiscoveryengineV1Session" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } }, @@ -4423,7 +4594,8 @@ "$ref": "GoogleCloudDiscoveryengineV1Answer" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -4456,7 +4628,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -4502,7 +4675,8 @@ "$ref": "GoogleLongrunningListOperationsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -4553,7 +4727,9 @@ "$ref": "GoogleCloudDiscoveryengineV1CompleteQueryResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "create": { @@ -4606,7 +4782,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -4631,7 +4808,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -4656,7 +4834,8 @@ "$ref": "GoogleCloudDiscoveryengineV1DataStore" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "getSiteSearchEngine": { @@ -4681,7 +4860,8 @@ "$ref": "GoogleCloudDiscoveryengineV1SiteSearchEngine" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -4722,7 +4902,8 @@ "$ref": "GoogleCloudDiscoveryengineV1ListDataStoresResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -4756,7 +4937,8 @@ "$ref": "GoogleCloudDiscoveryengineV1DataStore" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } }, @@ -4797,7 +4979,8 @@ "$ref": "GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } }, @@ -4834,7 +5017,8 @@ "$ref": "GoogleCloudDiscoveryengineV1Document" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -4859,7 +5043,8 @@ "$ref": "GoogleProtobufEmpty" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -4884,7 +5069,8 @@ "$ref": "GoogleCloudDiscoveryengineV1Document" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "import": { @@ -4912,7 +5098,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -4948,7 +5135,8 @@ "$ref": "GoogleCloudDiscoveryengineV1ListDocumentsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -4987,7 +5175,8 @@ "$ref": "GoogleCloudDiscoveryengineV1Document" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "purge": { @@ -5015,7 +5204,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -5047,7 +5237,8 @@ "$ref": "GoogleProtobufEmpty" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -5072,7 +5263,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -5118,7 +5310,8 @@ "$ref": "GoogleLongrunningListOperationsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -5153,7 +5346,9 @@ }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud_search.query" + "https://www.googleapis.com/auth/cloud_search.query", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -5185,7 +5380,9 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "purge": { @@ -5213,7 +5410,9 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -5250,7 +5449,8 @@ "$ref": "GoogleCloudDiscoveryengineV1Control" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -5275,7 +5475,8 @@ "$ref": "GoogleProtobufEmpty" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -5300,7 +5501,8 @@ "$ref": "GoogleCloudDiscoveryengineV1Control" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -5341,7 +5543,8 @@ "$ref": "GoogleCloudDiscoveryengineV1ListControlsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -5375,7 +5578,8 @@ "$ref": "GoogleCloudDiscoveryengineV1Control" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -5407,7 +5611,8 @@ "$ref": "GoogleCloudDiscoveryengineV1ConverseConversationResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "create": { @@ -5435,7 +5640,8 @@ "$ref": "GoogleCloudDiscoveryengineV1Conversation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -5460,7 +5666,8 @@ "$ref": "GoogleProtobufEmpty" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -5485,7 +5692,8 @@ "$ref": "GoogleCloudDiscoveryengineV1Conversation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -5531,7 +5739,8 @@ "$ref": "GoogleCloudDiscoveryengineV1ListConversationsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -5565,7 +5774,8 @@ "$ref": "GoogleCloudDiscoveryengineV1Conversation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -5596,7 +5806,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -5642,7 +5853,8 @@ "$ref": "GoogleLongrunningListOperationsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -5673,7 +5885,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -5719,7 +5932,8 @@ "$ref": "GoogleLongrunningListOperationsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -5756,7 +5970,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -5781,7 +5996,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -5806,7 +6022,8 @@ "$ref": "GoogleCloudDiscoveryengineV1Schema" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -5842,7 +6059,8 @@ "$ref": "GoogleCloudDiscoveryengineV1ListSchemasResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -5875,7 +6093,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -5907,7 +6126,8 @@ "$ref": "GoogleCloudDiscoveryengineV1AnswerQueryResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -5941,7 +6161,8 @@ "$ref": "GoogleCloudDiscoveryengineV1ServingConfig" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "recommend": { @@ -5969,7 +6190,8 @@ "$ref": "GoogleCloudDiscoveryengineV1RecommendResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "search": { @@ -5997,7 +6219,9 @@ "$ref": "GoogleCloudDiscoveryengineV1SearchResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "searchLite": { @@ -6025,7 +6249,9 @@ "$ref": "GoogleCloudDiscoveryengineV1SearchResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "streamAnswer": { @@ -6053,7 +6279,8 @@ "$ref": "GoogleCloudDiscoveryengineV1AnswerQueryResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -6085,7 +6312,9 @@ "$ref": "GoogleCloudDiscoveryengineV1Session" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -6110,7 +6339,9 @@ "$ref": "GoogleProtobufEmpty" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -6140,7 +6371,9 @@ "$ref": "GoogleCloudDiscoveryengineV1Session" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -6186,7 +6419,9 @@ "$ref": "GoogleCloudDiscoveryengineV1ListSessionsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -6220,7 +6455,9 @@ "$ref": "GoogleCloudDiscoveryengineV1Session" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } }, @@ -6249,7 +6486,8 @@ "$ref": "GoogleCloudDiscoveryengineV1Answer" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -6283,7 +6521,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "enableAdvancedSiteSearch": { @@ -6311,7 +6550,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "recrawlUris": { @@ -6339,7 +6579,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } }, @@ -6371,7 +6612,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -6396,7 +6638,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "fetch": { @@ -6427,7 +6670,8 @@ "$ref": "GoogleCloudDiscoveryengineV1FetchSitemapsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -6459,7 +6703,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "create": { @@ -6487,7 +6732,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -6512,7 +6758,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -6537,7 +6784,8 @@ "$ref": "GoogleCloudDiscoveryengineV1TargetSite" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -6573,7 +6821,8 @@ "$ref": "GoogleCloudDiscoveryengineV1ListTargetSitesResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -6601,7 +6850,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -6635,7 +6885,9 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "purge": { @@ -6663,7 +6915,9 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -6708,7 +6962,9 @@ "$ref": "GoogleApiHttpBody" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "import": { @@ -6736,7 +6992,9 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "purge": { @@ -6764,7 +7022,9 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "write": { @@ -6797,7 +7057,9 @@ "$ref": "GoogleCloudDiscoveryengineV1UserEvent" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -6831,7 +7093,8 @@ "$ref": "GoogleCloudDiscoveryengineV1CheckGroundingResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -6878,7 +7141,8 @@ "$ref": "GoogleCloudDiscoveryengineV1IdentityMappingStore" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -6903,7 +7167,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -6928,7 +7193,8 @@ "$ref": "GoogleCloudDiscoveryengineV1IdentityMappingStore" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "importIdentityMappings": { @@ -6956,7 +7222,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -6992,7 +7259,8 @@ "$ref": "GoogleCloudDiscoveryengineV1ListIdentityMappingStoresResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "listIdentityMappings": { @@ -7028,7 +7296,8 @@ "$ref": "GoogleCloudDiscoveryengineV1ListIdentityMappingsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "purgeIdentityMappings": { @@ -7056,7 +7325,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } }, @@ -7085,7 +7355,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -7131,7 +7402,8 @@ "$ref": "GoogleLongrunningListOperationsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -7170,7 +7442,8 @@ "$ref": "GoogleCloudDiscoveryengineV1LicenseConfig" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -7195,7 +7468,8 @@ "$ref": "GoogleCloudDiscoveryengineV1LicenseConfig" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -7229,7 +7503,8 @@ "$ref": "GoogleCloudDiscoveryengineV1LicenseConfig" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -7258,7 +7533,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -7304,7 +7580,8 @@ "$ref": "GoogleLongrunningListOperationsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -7335,7 +7612,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -7369,7 +7647,8 @@ "$ref": "GoogleCloudDiscoveryengineV1RankResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -7414,7 +7693,9 @@ "$ref": "GoogleApiHttpBody" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "import": { @@ -7442,7 +7723,9 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "write": { @@ -7475,7 +7758,9 @@ "$ref": "GoogleCloudDiscoveryengineV1UserEvent" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -7507,7 +7792,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } }, @@ -7552,7 +7838,8 @@ "$ref": "GoogleCloudDiscoveryengineV1ListUserLicensesResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -7588,7 +7875,8 @@ "$ref": "GoogleProtobufEmpty" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -7613,7 +7901,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -7659,7 +7948,8 @@ "$ref": "GoogleLongrunningListOperationsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -7667,7 +7957,7 @@ } } }, - "revision": "20250929", + "revision": "20251017", "rootUrl": "https://discoveryengine.googleapis.com/", "schemas": { "GdataBlobstore2Info": { @@ -8930,67 +9220,6 @@ }, "type": "object" }, - "GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig": { - "description": "The resource level alert config. Used in: * UserLicense * EngineUserData The AlertPolicyConfig in data connector is of same usage. No easy way to migrate.", - "id": "GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig", - "properties": { - "alertEnrollments": { - "description": "Optional. The enrollment state of each alert.", - "items": { - "$ref": "GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment" - }, - "type": "array" - }, - "alertPolicy": { - "description": "Immutable. The fully qualified resource name of the AlertPolicy.", - "type": "string" - }, - "contactDetails": { - "description": "Optional. The contact details for each alert policy.", - "items": { - "$ref": "GoogleCloudDiscoveryengineV1ContactDetails" - }, - "type": "array" - }, - "languageCode": { - "description": "Optional. The language code used for notifications", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment": { - "description": "The alert enrollment status.", - "id": "GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment", - "properties": { - "alertId": { - "description": "Immutable. The id of an alert.", - "type": "string" - }, - "enrollState": { - "description": "Required. The enrollment status of a customer.", - "enum": [ - "ENROLL_STATE_UNSPECIFIED", - "ENROLLED", - "DECLINED" - ], - "enumDescriptions": [ - "Default value. Used for customers who have not responded to the alert policy.", - "Customer is enrolled in this policy.", - "Customer declined this policy." - ], - "type": "string" - }, - "notificationParams": { - "additionalProperties": { - "type": "string" - }, - "description": "Optional. Parameters used to instantiate a notification. Used for notifications that are triggered when registered. Not stored. * Gemini Business welcome emails. * Gemini Business user invitation emails.", - "type": "object" - } - }, - "type": "object" - }, "GoogleCloudDiscoveryengineV1AlloyDbSource": { "description": "AlloyDB source import data from.", "id": "GoogleCloudDiscoveryengineV1AlloyDbSource", @@ -10627,6 +10856,10 @@ "description": "A piece of content and possibly its grounding information. Not all content needs grounding. Phrases like \"Of course, I will gladly search it for you.\" do not need grounding.", "id": "GoogleCloudDiscoveryengineV1AssistantGroundedContent", "properties": { + "citationMetadata": { + "$ref": "GoogleCloudDiscoveryengineV1CitationMetadata", + "description": "Source attribution of the generated content. See also https://cloud.google.com/vertex-ai/generative-ai/docs/learn/overview#citation_check" + }, "content": { "$ref": "GoogleCloudDiscoveryengineV1AssistantContent", "description": "The content." @@ -11490,6 +11723,60 @@ }, "type": "object" }, + "GoogleCloudDiscoveryengineV1Citation": { + "description": "Source attributions for content.", + "id": "GoogleCloudDiscoveryengineV1Citation", + "properties": { + "endIndex": { + "description": "Output only. End index into the content.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "license": { + "description": "Output only. License of the attribution.", + "readOnly": true, + "type": "string" + }, + "publicationDate": { + "$ref": "GoogleTypeDate", + "description": "Output only. Publication date of the attribution.", + "readOnly": true + }, + "startIndex": { + "description": "Output only. Start index into the content.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "title": { + "description": "Output only. Title of the attribution.", + "readOnly": true, + "type": "string" + }, + "uri": { + "description": "Output only. Url reference of the attribution.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDiscoveryengineV1CitationMetadata": { + "description": "A collection of source attributions for a piece of content.", + "id": "GoogleCloudDiscoveryengineV1CitationMetadata", + "properties": { + "citations": { + "description": "Output only. List of citations.", + "items": { + "$ref": "GoogleCloudDiscoveryengineV1Citation" + }, + "readOnly": true, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudDiscoveryengineV1CloudSqlSource": { "description": "Cloud SQL source import data from.", "id": "GoogleCloudDiscoveryengineV1CloudSqlSource", @@ -11776,17 +12063,6 @@ }, "type": "object" }, - "GoogleCloudDiscoveryengineV1ContactDetails": { - "description": "The contact info stored in resource level. If both project level and resource level is populated, the resource level contact info will override the project level contact info.", - "id": "GoogleCloudDiscoveryengineV1ContactDetails", - "properties": { - "emailAddress": { - "description": "Optional. The email address of the contact.", - "type": "string" - } - }, - "type": "object" - }, "GoogleCloudDiscoveryengineV1Control": { "description": "Defines a conditioned behavior to employ during serving. Must be attached to a ServingConfig to be considered at serving time. Permitted actions dependent on `SolutionType`.", "id": "GoogleCloudDiscoveryengineV1Control", @@ -14705,10 +14981,6 @@ "description": "Information about users' licenses.", "id": "GoogleCloudDiscoveryengineV1LicenseConfig", "properties": { - "alertPolicyResourceConfig": { - "$ref": "GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig", - "description": "Optional. The alert policy config for this license config." - }, "autoRenew": { "description": "Optional. Whether the license config should be auto renewed when it reaches the end date.", "type": "boolean" @@ -14721,6 +14993,11 @@ "description": "Optional. Whether the license config is for free trial.", "type": "boolean" }, + "geminiBundle": { + "description": "Output only. Whether the license config is for Gemini bundle.", + "readOnly": true, + "type": "boolean" + }, "licenseCount": { "description": "Required. Number of licenses purchased.", "format": "int64", @@ -17219,6 +17496,13 @@ "description": "Optional. Whether the session is pinned, pinned session will be displayed on the top of the session list.", "type": "boolean" }, + "labels": { + "description": "Optional. The labels for the session. Can be set as filter in ListSessionsRequest.", + "items": { + "type": "string" + }, + "type": "array" + }, "name": { "description": "Immutable. Fully qualified name `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/*`", "type": "string" @@ -17522,7 +17806,7 @@ }, "sessionInfo": { "$ref": "GoogleCloudDiscoveryengineV1StreamAssistResponseSessionInfo", - "description": "Session information." + "description": "Session information. Only included in the final StreamAssistResponse of the response stream." } }, "type": "object" @@ -19162,6 +19446,10 @@ "description": "A piece of content and possibly its grounding information. Not all content needs grounding. Phrases like \"Of course, I will gladly search it for you.\" do not need grounding.", "id": "GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent", "properties": { + "citationMetadata": { + "$ref": "GoogleCloudDiscoveryengineV1alphaCitationMetadata", + "description": "Source attribution of the generated content. See also https://cloud.google.com/vertex-ai/generative-ai/docs/learn/overview#citation_check" + }, "content": { "$ref": "GoogleCloudDiscoveryengineV1alphaAssistantContent", "description": "The content." @@ -19386,6 +19674,60 @@ }, "type": "object" }, + "GoogleCloudDiscoveryengineV1alphaCitation": { + "description": "Source attributions for content.", + "id": "GoogleCloudDiscoveryengineV1alphaCitation", + "properties": { + "endIndex": { + "description": "Output only. End index into the content.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "license": { + "description": "Output only. License of the attribution.", + "readOnly": true, + "type": "string" + }, + "publicationDate": { + "$ref": "GoogleTypeDate", + "description": "Output only. Publication date of the attribution.", + "readOnly": true + }, + "startIndex": { + "description": "Output only. Start index into the content.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "title": { + "description": "Output only. Title of the attribution.", + "readOnly": true, + "type": "string" + }, + "uri": { + "description": "Output only. Url reference of the attribution.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDiscoveryengineV1alphaCitationMetadata": { + "description": "A collection of source attributions for a piece of content.", + "id": "GoogleCloudDiscoveryengineV1alphaCitationMetadata", + "properties": { + "citations": { + "description": "Output only. List of citations.", + "items": { + "$ref": "GoogleCloudDiscoveryengineV1alphaCitation" + }, + "readOnly": true, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudDiscoveryengineV1alphaCmekConfig": { "description": "Configurations used to enable CMEK data encryption with Cloud KMS keys.", "id": "GoogleCloudDiscoveryengineV1alphaCmekConfig", @@ -22384,6 +22726,11 @@ "description": "Optional. Whether the license config is for free trial.", "type": "boolean" }, + "geminiBundle": { + "description": "Output only. Whether the license config is for Gemini bundle.", + "readOnly": true, + "type": "boolean" + }, "licenseCount": { "description": "Required. Number of licenses purchased.", "format": "int64", @@ -24129,6 +24476,13 @@ "description": "Optional. Whether the session is pinned, pinned session will be displayed on the top of the session list.", "type": "boolean" }, + "labels": { + "description": "Optional. The labels for the session. Can be set as filter in ListSessionsRequest.", + "items": { + "type": "string" + }, + "type": "array" + }, "name": { "description": "Immutable. Fully qualified name `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/*`", "type": "string" @@ -24759,67 +25113,6 @@ }, "type": "object" }, - "GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig": { - "description": "The resource level alert config. Used in: * UserLicense * EngineUserData The AlertPolicyConfig in data connector is of same usage. No easy way to migrate.", - "id": "GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig", - "properties": { - "alertEnrollments": { - "description": "Optional. The enrollment state of each alert.", - "items": { - "$ref": "GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment" - }, - "type": "array" - }, - "alertPolicy": { - "description": "Immutable. The fully qualified resource name of the AlertPolicy.", - "type": "string" - }, - "contactDetails": { - "description": "Optional. The contact details for each alert policy.", - "items": { - "$ref": "GoogleCloudDiscoveryengineV1betaContactDetails" - }, - "type": "array" - }, - "languageCode": { - "description": "Optional. The language code used for notifications", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment": { - "description": "The alert enrollment status.", - "id": "GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment", - "properties": { - "alertId": { - "description": "Immutable. The id of an alert.", - "type": "string" - }, - "enrollState": { - "description": "Required. The enrollment status of a customer.", - "enum": [ - "ENROLL_STATE_UNSPECIFIED", - "ENROLLED", - "DECLINED" - ], - "enumDescriptions": [ - "Default value. Used for customers who have not responded to the alert policy.", - "Customer is enrolled in this policy.", - "Customer declined this policy." - ], - "type": "string" - }, - "notificationParams": { - "additionalProperties": { - "type": "string" - }, - "description": "Optional. Parameters used to instantiate a notification. Used for notifications that are triggered when registered. Not stored. * Gemini Business welcome emails. * Gemini Business user invitation emails.", - "type": "object" - } - }, - "type": "object" - }, "GoogleCloudDiscoveryengineV1betaBatchCreateTargetSiteMetadata": { "description": "Metadata related to the progress of the SiteSearchEngineService.BatchCreateTargetSites operation. This will be returned by the google.longrunning.Operation.metadata field.", "id": "GoogleCloudDiscoveryengineV1betaBatchCreateTargetSiteMetadata", @@ -25040,17 +25333,6 @@ }, "type": "object" }, - "GoogleCloudDiscoveryengineV1betaContactDetails": { - "description": "The contact info stored in resource level. If both project level and resource level is populated, the resource level contact info will override the project level contact info.", - "id": "GoogleCloudDiscoveryengineV1betaContactDetails", - "properties": { - "emailAddress": { - "description": "Optional. The email address of the contact.", - "type": "string" - } - }, - "type": "object" - }, "GoogleCloudDiscoveryengineV1betaControl": { "description": "Defines a conditioned behavior to employ during serving. Must be attached to a ServingConfig to be considered at serving time. Permitted actions dependent on `SolutionType`.", "id": "GoogleCloudDiscoveryengineV1betaControl", @@ -26710,10 +26992,6 @@ "description": "Information about users' licenses.", "id": "GoogleCloudDiscoveryengineV1betaLicenseConfig", "properties": { - "alertPolicyResourceConfig": { - "$ref": "GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig", - "description": "Optional. The alert policy config for this license config." - }, "autoRenew": { "description": "Optional. Whether the license config should be auto renewed when it reaches the end date.", "type": "boolean" @@ -26726,6 +27004,11 @@ "description": "Optional. Whether the license config is for free trial.", "type": "boolean" }, + "geminiBundle": { + "description": "Output only. Whether the license config is for Gemini bundle.", + "readOnly": true, + "type": "boolean" + }, "licenseCount": { "description": "Required. Number of licenses purchased.", "format": "int64", diff --git a/discovery/discoveryengine-v1alpha.json b/discovery/discoveryengine-v1alpha.json index 205079c458e..4f2e90a837c 100644 --- a/discovery/discoveryengine-v1alpha.json +++ b/discovery/discoveryengine-v1alpha.json @@ -7,6 +7,12 @@ }, "https://www.googleapis.com/auth/cloud_search.query": { "description": "Search your organization's data in the Cloud Search index" + }, + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite": { + "description": "View your Agentspace chat history, including uploaded files and generated reports and visualizations, and interact with the Agentspace assistant on your behalf." + }, + "https://www.googleapis.com/auth/discoveryengine.readwrite": { + "description": "View, edit, create, and delete all your data associated with any Discovery Engine API product, such as Agentspace, Vertex AI Search, or NotebookLM Enterprise, including both end user data and administration or configuration data." } } } @@ -169,7 +175,9 @@ "$ref": "GdataMedia" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ], "supportsMediaDownload": true, "useMediaDownloadService": true @@ -200,7 +208,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaProject" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -234,7 +243,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaProject" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "provision": { @@ -262,7 +272,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "reportConsentChange": { @@ -290,7 +301,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaProject" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } }, @@ -322,7 +334,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "getAclConfig": { @@ -347,7 +360,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaAclConfig" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "getCmekConfig": { @@ -372,7 +386,92 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaCmekConfig" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" + ] + }, + "getConfigurablePricingUsageStats": { + "description": "Gets configurable pricing usage stats.", + "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/configurablePricingUsageStats", + "httpMethod": "GET", + "id": "discoveryengine.projects.locations.getConfigurablePricingUsageStats", + "parameterOrder": [ + "name" + ], + "parameters": { + "metricTypes": { + "description": "Optional. The metric types to return usage for.", + "enum": [ + "BILLING_METRIC_TYPE_UNSPECIFIED", + "DAILY_MDN_QPM", + "DAILY_MIN_QPM", + "DAILY_MAX_QPM", + "DAILY_SEARCH_REQUEST", + "TOTAL_STORAGE" + ], + "enumDescriptions": [ + "Default value.", + "Daily median search request QPM.", + "Daily min search request QPM.", + "Daily max search request QPM.", + "Daily search request total.", + "Total storage bytes for indexing core." + ], + "location": "query", + "repeated": true, + "type": "string" + }, + "name": { + "description": "Required. The name of the ConfigurablePricingUsageStats to retrieve. Format: projects/{project}/locations/{location}/configurablePricingUsageStats", + "location": "path", + "pattern": "^projects/[^/]+/locations/[^/]+/configurablePricingUsageStats$", + "required": true, + "type": "string" + }, + "timeRange.endDate.day": { + "description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "timeRange.endDate.month": { + "description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "timeRange.endDate.year": { + "description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "timeRange.startDate.day": { + "description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "timeRange.startDate.month": { + "description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", + "format": "int32", + "location": "query", + "type": "integer" + }, + "timeRange.startDate.year": { + "description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", + "format": "int32", + "location": "query", + "type": "integer" + } + }, + "path": "v1alpha/{+name}", + "response": { + "$ref": "GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStats" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "obtainCrawlRate": { @@ -400,7 +499,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaObtainCrawlRateResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "removeDedicatedCrawlRate": { @@ -428,7 +528,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "setDedicatedCrawlRate": { @@ -456,7 +557,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "setUpDataConnector": { @@ -484,7 +586,9 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "setUpDataConnectorV2": { @@ -522,7 +626,9 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "updateAclConfig": { @@ -550,7 +656,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaAclConfig" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "updateCmekConfig": { @@ -583,7 +690,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } }, @@ -612,7 +720,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -637,7 +746,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaCmekConfig" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -662,7 +772,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaListCmekConfigsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -695,7 +806,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -724,7 +836,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -749,7 +862,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaCollection" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "getDataConnector": { @@ -774,7 +888,9 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaDataConnector" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -815,7 +931,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaListCollectionsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -849,7 +966,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "updateDataConnector": { @@ -883,7 +1001,9 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaDataConnector" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } }, @@ -915,7 +1035,9 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaAcquireAccessTokenResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "checkRefreshToken": { @@ -941,7 +1063,9 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaCheckRefreshTokenResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "getConnectorSecret": { @@ -966,7 +1090,9 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaGetConnectorSecretResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "startConnectorRun": { @@ -994,7 +1120,9 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaConnectorRun" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } }, @@ -1034,7 +1162,9 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaListConnectorRunsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -1063,7 +1193,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -1109,7 +1240,8 @@ "$ref": "GoogleLongrunningListOperationsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -1160,7 +1292,9 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaCompleteQueryResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "create": { @@ -1213,7 +1347,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -1238,7 +1373,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -1263,7 +1399,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaDataStore" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "getDocumentProcessingConfig": { @@ -1288,7 +1425,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "getSiteSearchEngine": { @@ -1313,7 +1451,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaSiteSearchEngine" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -1354,7 +1493,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaListDataStoresResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -1388,7 +1528,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaDataStore" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "trainCustomModel": { @@ -1416,7 +1557,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "updateDocumentProcessingConfig": { @@ -1450,7 +1592,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } }, @@ -1491,7 +1634,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaBatchGetDocumentsMetadataResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -1531,7 +1675,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaBranch" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -1571,7 +1716,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaListBranchesResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } }, @@ -1608,7 +1754,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaDocument" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -1633,7 +1780,8 @@ "$ref": "GoogleProtobufEmpty" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -1658,7 +1806,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaDocument" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "getProcessedDocument": { @@ -1720,7 +1869,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaProcessedDocument" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "import": { @@ -1748,7 +1898,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -1784,7 +1935,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaListDocumentsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -1823,7 +1975,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaDocument" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "purge": { @@ -1851,7 +2004,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } }, @@ -1880,7 +2034,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaChunk" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -1916,7 +2071,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaListChunksResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -1950,7 +2106,8 @@ "$ref": "GoogleProtobufEmpty" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -1975,7 +2132,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -2021,7 +2179,8 @@ "$ref": "GoogleLongrunningListOperationsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -2056,7 +2215,9 @@ }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud_search.query" + "https://www.googleapis.com/auth/cloud_search.query", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -2088,7 +2249,9 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "purge": { @@ -2116,7 +2279,9 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -2153,7 +2318,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaControl" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -2178,7 +2344,8 @@ "$ref": "GoogleProtobufEmpty" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -2203,7 +2370,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaControl" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -2244,7 +2412,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaListControlsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -2278,7 +2447,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaControl" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -2310,7 +2480,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaConverseConversationResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "create": { @@ -2338,7 +2509,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaConversation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -2363,7 +2535,8 @@ "$ref": "GoogleProtobufEmpty" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -2388,7 +2561,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaConversation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -2434,7 +2608,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaListConversationsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -2468,7 +2643,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaConversation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -2497,7 +2673,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaListCustomModelsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -2528,7 +2705,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -2574,7 +2752,8 @@ "$ref": "GoogleLongrunningListOperationsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -2605,7 +2784,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -2651,7 +2831,8 @@ "$ref": "GoogleLongrunningListOperationsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -2688,7 +2869,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -2713,7 +2895,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -2738,7 +2921,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaSchema" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -2774,7 +2958,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaListSchemasResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -2807,7 +2992,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } }, @@ -2836,7 +3022,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -2882,7 +3069,8 @@ "$ref": "GoogleLongrunningListOperationsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -2916,7 +3104,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerQueryResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -2941,7 +3130,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaServingConfig" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -2977,7 +3167,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaListServingConfigsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -3011,7 +3202,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaServingConfig" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "recommend": { @@ -3039,7 +3231,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaRecommendResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "search": { @@ -3067,7 +3260,9 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "searchLite": { @@ -3095,7 +3290,9 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "streamAnswer": { @@ -3123,7 +3320,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerQueryResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -3155,7 +3353,9 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaSession" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -3180,7 +3380,9 @@ "$ref": "GoogleProtobufEmpty" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -3210,7 +3412,9 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaSession" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -3256,7 +3460,9 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaListSessionsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -3290,7 +3496,9 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaSession" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } }, @@ -3319,7 +3527,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaAnswer" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -3353,7 +3562,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "disableAdvancedSiteSearch": { @@ -3381,7 +3591,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "enableAdvancedSiteSearch": { @@ -3409,7 +3620,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "fetchDomainVerificationStatus": { @@ -3445,7 +3657,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaFetchDomainVerificationStatusResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "getUriPatternDocumentData": { @@ -3470,7 +3683,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaGetUriPatternDocumentDataResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "recrawlUris": { @@ -3498,7 +3712,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "setUriPatternDocumentData": { @@ -3526,7 +3741,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } }, @@ -3555,7 +3771,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -3601,7 +3818,8 @@ "$ref": "GoogleLongrunningListOperationsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -3633,7 +3851,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -3658,7 +3877,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "fetch": { @@ -3689,7 +3909,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaFetchSitemapsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -3721,7 +3942,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "create": { @@ -3749,7 +3971,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -3774,7 +3997,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -3799,7 +4023,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaTargetSite" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -3835,7 +4060,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaListTargetSitesResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -3863,7 +4089,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } }, @@ -3892,7 +4119,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -3938,7 +4166,8 @@ "$ref": "GoogleLongrunningListOperationsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -3974,7 +4203,9 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "purge": { @@ -4002,7 +4233,9 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -4047,7 +4280,9 @@ "$ref": "GoogleApiHttpBody" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "import": { @@ -4075,7 +4310,9 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "purge": { @@ -4103,7 +4340,9 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "write": { @@ -4136,7 +4375,9 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaUserEvent" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -4175,7 +4416,9 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaWidgetConfig" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -4214,7 +4457,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -4239,7 +4483,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -4264,7 +4509,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaEngine" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "getWorkspaceSettings": { @@ -4289,7 +4535,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaWorkspaceSettings" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -4330,7 +4577,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaListEnginesResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -4364,7 +4612,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaEngine" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "pause": { @@ -4392,7 +4641,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaEngine" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "resume": { @@ -4420,7 +4670,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaEngine" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "tune": { @@ -4448,7 +4699,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } }, @@ -4480,7 +4732,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -4509,7 +4762,9 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaAssistant" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -4543,7 +4798,9 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaAssistant" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "streamAssist": { @@ -4571,7 +4828,9 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaStreamAssistResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -4604,7 +4863,9 @@ }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud_search.query" + "https://www.googleapis.com/auth/cloud_search.query", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "removeSuggestion": { @@ -4632,7 +4893,9 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaRemoveSuggestionResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -4669,7 +4932,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaControl" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -4694,7 +4958,8 @@ "$ref": "GoogleProtobufEmpty" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -4719,7 +4984,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaControl" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -4760,7 +5026,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaListControlsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -4794,7 +5061,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaControl" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -4826,7 +5094,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaConverseConversationResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "create": { @@ -4854,7 +5123,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaConversation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -4879,7 +5149,8 @@ "$ref": "GoogleProtobufEmpty" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -4904,7 +5175,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaConversation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -4950,7 +5222,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaListConversationsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -4984,7 +5257,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaConversation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -5013,7 +5287,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -5059,7 +5334,8 @@ "$ref": "GoogleLongrunningListOperationsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -5091,7 +5367,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerQueryResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -5116,7 +5393,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaServingConfig" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -5152,7 +5430,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaListServingConfigsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -5186,7 +5465,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaServingConfig" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "recommend": { @@ -5214,7 +5494,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaRecommendResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "search": { @@ -5242,7 +5523,9 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "searchLite": { @@ -5270,7 +5553,9 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "streamAnswer": { @@ -5298,7 +5583,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerQueryResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -5330,7 +5616,9 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaSession" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -5355,7 +5643,9 @@ "$ref": "GoogleProtobufEmpty" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -5385,7 +5675,9 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaSession" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -5431,7 +5723,9 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaListSessionsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -5465,7 +5759,9 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaSession" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } }, @@ -5494,7 +5790,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaAnswer" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -5544,7 +5841,9 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaListFilesResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -5585,7 +5884,9 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaWidgetConfig" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -5616,7 +5917,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -5662,7 +5964,8 @@ "$ref": "GoogleLongrunningListOperationsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -5713,7 +6016,9 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaCompleteQueryResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "create": { @@ -5766,7 +6071,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -5791,7 +6097,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -5816,7 +6123,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaDataStore" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "getDocumentProcessingConfig": { @@ -5841,7 +6149,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "getSiteSearchEngine": { @@ -5866,7 +6175,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaSiteSearchEngine" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -5907,7 +6217,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaListDataStoresResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -5941,7 +6252,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaDataStore" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "updateDocumentProcessingConfig": { @@ -5975,7 +6287,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } }, @@ -6016,7 +6329,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaBatchGetDocumentsMetadataResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -6056,7 +6370,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaBranch" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -6096,7 +6411,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaListBranchesResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } }, @@ -6133,7 +6449,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaDocument" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -6158,7 +6475,8 @@ "$ref": "GoogleProtobufEmpty" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -6183,7 +6501,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaDocument" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "getProcessedDocument": { @@ -6245,7 +6564,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaProcessedDocument" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "import": { @@ -6273,7 +6593,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -6309,7 +6630,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaListDocumentsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -6348,7 +6670,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaDocument" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "purge": { @@ -6376,7 +6699,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } }, @@ -6405,7 +6729,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaChunk" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -6441,7 +6766,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaListChunksResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -6475,7 +6801,8 @@ "$ref": "GoogleProtobufEmpty" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -6500,7 +6827,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -6546,7 +6874,8 @@ "$ref": "GoogleLongrunningListOperationsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -6581,7 +6910,9 @@ }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud_search.query" + "https://www.googleapis.com/auth/cloud_search.query", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -6613,7 +6944,9 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "purge": { @@ -6641,7 +6974,9 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -6678,7 +7013,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaControl" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -6703,7 +7039,8 @@ "$ref": "GoogleProtobufEmpty" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -6728,7 +7065,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaControl" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -6769,7 +7107,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaListControlsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -6803,7 +7142,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaControl" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -6835,7 +7175,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaConverseConversationResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "create": { @@ -6863,7 +7204,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaConversation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -6888,7 +7230,8 @@ "$ref": "GoogleProtobufEmpty" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -6913,7 +7256,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaConversation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -6959,7 +7303,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaListConversationsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -6993,7 +7338,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaConversation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -7024,7 +7370,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -7070,7 +7417,8 @@ "$ref": "GoogleLongrunningListOperationsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -7101,7 +7449,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -7147,7 +7496,8 @@ "$ref": "GoogleLongrunningListOperationsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -7184,7 +7534,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -7209,7 +7560,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -7234,7 +7586,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaSchema" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -7270,7 +7623,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaListSchemasResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -7303,7 +7657,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -7335,7 +7690,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerQueryResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -7360,7 +7716,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaServingConfig" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -7396,7 +7753,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaListServingConfigsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -7430,7 +7788,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaServingConfig" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "recommend": { @@ -7458,7 +7817,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaRecommendResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "search": { @@ -7486,7 +7846,9 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "searchLite": { @@ -7514,7 +7876,9 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaSearchResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "streamAnswer": { @@ -7542,7 +7906,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaAnswerQueryResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -7574,7 +7939,9 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaSession" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -7599,7 +7966,9 @@ "$ref": "GoogleProtobufEmpty" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -7629,7 +7998,9 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaSession" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -7675,7 +8046,9 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaListSessionsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -7709,7 +8082,9 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaSession" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } }, @@ -7738,7 +8113,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaAnswer" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -7772,7 +8148,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "enableAdvancedSiteSearch": { @@ -7800,7 +8177,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "recrawlUris": { @@ -7828,7 +8206,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } }, @@ -7860,7 +8239,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -7885,7 +8265,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "fetch": { @@ -7916,7 +8297,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaFetchSitemapsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -7948,7 +8330,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "create": { @@ -7976,7 +8359,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -8001,7 +8385,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -8026,7 +8411,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaTargetSite" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -8062,7 +8448,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaListTargetSitesResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -8090,7 +8477,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -8124,7 +8512,9 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "purge": { @@ -8152,7 +8542,9 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -8197,7 +8589,9 @@ "$ref": "GoogleApiHttpBody" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "import": { @@ -8225,7 +8619,9 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "purge": { @@ -8253,7 +8649,9 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "write": { @@ -8286,7 +8684,9 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaUserEvent" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -8325,7 +8725,9 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaWidgetConfig" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -8359,7 +8761,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -8384,7 +8787,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaEvaluation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -8420,7 +8824,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaListEvaluationsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "listResults": { @@ -8456,7 +8861,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaListEvaluationResultsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } }, @@ -8485,7 +8891,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -8519,7 +8926,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaCheckGroundingResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -8566,7 +8974,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaIdentityMappingStore" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -8591,7 +9000,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -8616,7 +9026,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaIdentityMappingStore" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "importIdentityMappings": { @@ -8644,7 +9055,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -8680,7 +9092,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaListIdentityMappingStoresResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "listIdentityMappings": { @@ -8716,7 +9129,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaListIdentityMappingsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "purgeIdentityMappings": { @@ -8744,7 +9158,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } }, @@ -8773,7 +9188,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -8819,7 +9235,8 @@ "$ref": "GoogleLongrunningListOperationsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -8858,7 +9275,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaLicenseConfig" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -8883,7 +9301,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaLicenseConfig" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -8917,7 +9336,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaLicenseConfig" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -8949,7 +9369,8 @@ "$ref": "GoogleProtobufEmpty" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "create": { @@ -8977,7 +9398,8 @@ "$ref": "GoogleCloudNotebooklmV1alphaNotebook" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -9002,7 +9424,8 @@ "$ref": "GoogleCloudNotebooklmV1alphaNotebook" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "listRecentlyViewed": { @@ -9038,7 +9461,8 @@ "$ref": "GoogleCloudNotebooklmV1alphaListRecentlyViewedNotebooksResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "share": { @@ -9066,7 +9490,8 @@ "$ref": "GoogleCloudNotebooklmV1alphaShareNotebookResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } }, @@ -9098,7 +9523,8 @@ "$ref": "GoogleCloudNotebooklmV1alphaCreateAudioOverviewResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -9123,7 +9549,8 @@ "$ref": "GoogleProtobufEmpty" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -9155,7 +9582,8 @@ "$ref": "GoogleCloudNotebooklmV1alphaBatchCreateSourcesResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "batchDelete": { @@ -9183,7 +9611,8 @@ "$ref": "GoogleProtobufEmpty" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -9208,7 +9637,8 @@ "$ref": "GoogleCloudNotebooklmV1alphaSource" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "uploadFile": { @@ -9243,7 +9673,8 @@ "$ref": "GoogleCloudNotebooklmV1alphaUploadSourceFileResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -9274,7 +9705,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -9320,7 +9752,8 @@ "$ref": "GoogleLongrunningListOperationsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -9351,7 +9784,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -9385,7 +9819,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaRankResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -9417,7 +9852,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaCheckRequirementResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -9454,7 +9890,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaSampleQuerySet" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -9479,7 +9916,8 @@ "$ref": "GoogleProtobufEmpty" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -9504,7 +9942,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaSampleQuerySet" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -9540,7 +9979,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaListSampleQuerySetsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -9574,7 +10014,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaSampleQuerySet" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } }, @@ -9603,7 +10044,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -9640,7 +10082,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaSampleQuery" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -9665,7 +10108,8 @@ "$ref": "GoogleProtobufEmpty" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -9690,7 +10134,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaSampleQuery" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "import": { @@ -9718,7 +10163,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -9754,7 +10200,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaListSampleQueriesResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -9788,7 +10235,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaSampleQuery" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -9835,7 +10283,9 @@ "$ref": "GoogleApiHttpBody" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "import": { @@ -9863,7 +10313,9 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "write": { @@ -9896,7 +10348,9 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaUserEvent" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -9928,7 +10382,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } }, @@ -9957,7 +10412,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -10003,7 +10459,8 @@ "$ref": "GoogleLongrunningListOperationsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -10048,7 +10505,8 @@ "$ref": "GoogleCloudDiscoveryengineV1alphaListUserLicensesResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -10081,7 +10539,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -10127,7 +10586,8 @@ "$ref": "GoogleLongrunningListOperationsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -10135,7 +10595,7 @@ } } }, - "revision": "20251008", + "revision": "20251017", "rootUrl": "https://discoveryengine.googleapis.com/", "schemas": { "ApiservingMediaRequestInfo": { @@ -11253,67 +11713,6 @@ }, "type": "object" }, - "GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig": { - "description": "The resource level alert config. Used in: * UserLicense * EngineUserData The AlertPolicyConfig in data connector is of same usage. No easy way to migrate.", - "id": "GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig", - "properties": { - "alertEnrollments": { - "description": "Optional. The enrollment state of each alert.", - "items": { - "$ref": "GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment" - }, - "type": "array" - }, - "alertPolicy": { - "description": "Immutable. The fully qualified resource name of the AlertPolicy.", - "type": "string" - }, - "contactDetails": { - "description": "Optional. The contact details for each alert policy.", - "items": { - "$ref": "GoogleCloudDiscoveryengineV1ContactDetails" - }, - "type": "array" - }, - "languageCode": { - "description": "Optional. The language code used for notifications", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment": { - "description": "The alert enrollment status.", - "id": "GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment", - "properties": { - "alertId": { - "description": "Immutable. The id of an alert.", - "type": "string" - }, - "enrollState": { - "description": "Required. The enrollment status of a customer.", - "enum": [ - "ENROLL_STATE_UNSPECIFIED", - "ENROLLED", - "DECLINED" - ], - "enumDescriptions": [ - "Default value. Used for customers who have not responded to the alert policy.", - "Customer is enrolled in this policy.", - "Customer declined this policy." - ], - "type": "string" - }, - "notificationParams": { - "additionalProperties": { - "type": "string" - }, - "description": "Optional. Parameters used to instantiate a notification. Used for notifications that are triggered when registered. Not stored. * Gemini Business welcome emails. * Gemini Business user invitation emails.", - "type": "object" - } - }, - "type": "object" - }, "GoogleCloudDiscoveryengineV1AnswerGenerationSpec": { "description": "The specification for answer generation.", "id": "GoogleCloudDiscoveryengineV1AnswerGenerationSpec", @@ -11815,17 +12214,6 @@ }, "type": "object" }, - "GoogleCloudDiscoveryengineV1ContactDetails": { - "description": "The contact info stored in resource level. If both project level and resource level is populated, the resource level contact info will override the project level contact info.", - "id": "GoogleCloudDiscoveryengineV1ContactDetails", - "properties": { - "emailAddress": { - "description": "Optional. The email address of the contact.", - "type": "string" - } - }, - "type": "object" - }, "GoogleCloudDiscoveryengineV1Control": { "description": "Defines a conditioned behavior to employ during serving. Must be attached to a ServingConfig to be considered at serving time. Permitted actions dependent on `SolutionType`.", "id": "GoogleCloudDiscoveryengineV1Control", @@ -13825,10 +14213,6 @@ "description": "Information about users' licenses.", "id": "GoogleCloudDiscoveryengineV1LicenseConfig", "properties": { - "alertPolicyResourceConfig": { - "$ref": "GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig", - "description": "Optional. The alert policy config for this license config." - }, "autoRenew": { "description": "Optional. Whether the license config should be auto renewed when it reaches the end date.", "type": "boolean" @@ -13841,6 +14225,11 @@ "description": "Optional. Whether the license config is for free trial.", "type": "boolean" }, + "geminiBundle": { + "description": "Output only. Whether the license config is for Gemini bundle.", + "readOnly": true, + "type": "boolean" + }, "licenseCount": { "description": "Required. Number of licenses purchased.", "format": "int64", @@ -17211,6 +17600,10 @@ "description": "A piece of content and possibly its grounding information. Not all content needs grounding. Phrases like \"Of course, I will gladly search it for you.\" do not need grounding.", "id": "GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent", "properties": { + "citationMetadata": { + "$ref": "GoogleCloudDiscoveryengineV1alphaCitationMetadata", + "description": "Source attribution of the generated content. See also https://cloud.google.com/vertex-ai/generative-ai/docs/learn/overview#citation_check" + }, "content": { "$ref": "GoogleCloudDiscoveryengineV1alphaAssistantContent", "description": "The content." @@ -18224,6 +18617,60 @@ }, "type": "object" }, + "GoogleCloudDiscoveryengineV1alphaCitation": { + "description": "Source attributions for content.", + "id": "GoogleCloudDiscoveryengineV1alphaCitation", + "properties": { + "endIndex": { + "description": "Output only. End index into the content.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "license": { + "description": "Output only. License of the attribution.", + "readOnly": true, + "type": "string" + }, + "publicationDate": { + "$ref": "GoogleTypeDate", + "description": "Output only. Publication date of the attribution.", + "readOnly": true + }, + "startIndex": { + "description": "Output only. Start index into the content.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "title": { + "description": "Output only. Title of the attribution.", + "readOnly": true, + "type": "string" + }, + "uri": { + "description": "Output only. Url reference of the attribution.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDiscoveryengineV1alphaCitationMetadata": { + "description": "A collection of source attributions for a piece of content.", + "id": "GoogleCloudDiscoveryengineV1alphaCitationMetadata", + "properties": { + "citations": { + "description": "Output only. List of citations.", + "items": { + "$ref": "GoogleCloudDiscoveryengineV1alphaCitation" + }, + "readOnly": true, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudDiscoveryengineV1alphaCloudSqlSource": { "description": "Cloud SQL source import data from.", "id": "GoogleCloudDiscoveryengineV1alphaCloudSqlSource", @@ -18515,6 +18962,82 @@ }, "type": "object" }, + "GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStats": { + "description": "Response for [EstimateBillingService.GetConfigurablePricingUsageStats] method.", + "id": "GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStats", + "properties": { + "metricUsages": { + "description": "A list of metric usages, one for each requested resource type that has data in the requested time range.", + "items": { + "$ref": "GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsMetricUsage" + }, + "type": "array" + }, + "name": { + "description": "Identifier. The name of the ConfigurablePricingUsageStats. Format: projects/{project}/locations/{location}/configurablePricingUsageStats", + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsDatedUsage": { + "description": "A list of usages for a specific day.", + "id": "GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsDatedUsage", + "properties": { + "date": { + "$ref": "GoogleTypeDate", + "description": "The date of the usage." + }, + "usage": { + "description": "The usage value on the date.", + "format": "double", + "type": "number" + } + }, + "type": "object" + }, + "GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsMetricUsage": { + "description": "The usage of a metric over a list of days.", + "id": "GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsMetricUsage", + "properties": { + "datedUsages": { + "description": "The list of usages for this resource type, chronologically sorted by date. This is populated for metrics with daily aggregation like DAILY_MDN_QPM.", + "items": { + "$ref": "GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsDatedUsage" + }, + "type": "array" + }, + "metricType": { + "description": "The metric type.", + "enum": [ + "BILLING_METRIC_TYPE_UNSPECIFIED", + "DAILY_MDN_QPM", + "DAILY_MIN_QPM", + "DAILY_MAX_QPM", + "DAILY_SEARCH_REQUEST", + "TOTAL_STORAGE" + ], + "enumDescriptions": [ + "Default value.", + "Daily median search request QPM.", + "Daily min search request QPM.", + "Daily max search request QPM.", + "Daily search request total.", + "Total storage bytes for indexing core." + ], + "type": "string" + }, + "totalUsages": { + "description": "The list of total usages for this resource type", + "items": { + "format": "double", + "type": "number" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudDiscoveryengineV1alphaConnectorRun": { "description": "A data sync run of DataConnector. After DataConnector is successfully initialized, data syncs are scheduled at DataConnector.refresh_interval. A ConnectorRun represents a data sync either in the past or onging that the moment. //", "id": "GoogleCloudDiscoveryengineV1alphaConnectorRun", @@ -22632,6 +23155,11 @@ "description": "Optional. Whether the license config is for free trial.", "type": "boolean" }, + "geminiBundle": { + "description": "Output only. Whether the license config is for Gemini bundle.", + "readOnly": true, + "type": "boolean" + }, "licenseCount": { "description": "Required. Number of licenses purchased.", "format": "int64", @@ -26608,6 +27136,13 @@ "description": "Optional. Whether the session is pinned, pinned session will be displayed on the top of the session list.", "type": "boolean" }, + "labels": { + "description": "Optional. The labels for the session. Can be set as filter in ListSessionsRequest.", + "items": { + "type": "string" + }, + "type": "array" + }, "name": { "description": "Immutable. Fully qualified name `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/*`", "type": "string" @@ -27085,7 +27620,7 @@ }, "sessionInfo": { "$ref": "GoogleCloudDiscoveryengineV1alphaStreamAssistResponseSessionInfo", - "description": "Session information." + "description": "Session information. Only included in the final StreamAssistResponse of the response stream." } }, "type": "object" @@ -28626,67 +29161,6 @@ }, "type": "object" }, - "GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig": { - "description": "The resource level alert config. Used in: * UserLicense * EngineUserData The AlertPolicyConfig in data connector is of same usage. No easy way to migrate.", - "id": "GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig", - "properties": { - "alertEnrollments": { - "description": "Optional. The enrollment state of each alert.", - "items": { - "$ref": "GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment" - }, - "type": "array" - }, - "alertPolicy": { - "description": "Immutable. The fully qualified resource name of the AlertPolicy.", - "type": "string" - }, - "contactDetails": { - "description": "Optional. The contact details for each alert policy.", - "items": { - "$ref": "GoogleCloudDiscoveryengineV1betaContactDetails" - }, - "type": "array" - }, - "languageCode": { - "description": "Optional. The language code used for notifications", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment": { - "description": "The alert enrollment status.", - "id": "GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment", - "properties": { - "alertId": { - "description": "Immutable. The id of an alert.", - "type": "string" - }, - "enrollState": { - "description": "Required. The enrollment status of a customer.", - "enum": [ - "ENROLL_STATE_UNSPECIFIED", - "ENROLLED", - "DECLINED" - ], - "enumDescriptions": [ - "Default value. Used for customers who have not responded to the alert policy.", - "Customer is enrolled in this policy.", - "Customer declined this policy." - ], - "type": "string" - }, - "notificationParams": { - "additionalProperties": { - "type": "string" - }, - "description": "Optional. Parameters used to instantiate a notification. Used for notifications that are triggered when registered. Not stored. * Gemini Business welcome emails. * Gemini Business user invitation emails.", - "type": "object" - } - }, - "type": "object" - }, "GoogleCloudDiscoveryengineV1betaBatchCreateTargetSiteMetadata": { "description": "Metadata related to the progress of the SiteSearchEngineService.BatchCreateTargetSites operation. This will be returned by the google.longrunning.Operation.metadata field.", "id": "GoogleCloudDiscoveryengineV1betaBatchCreateTargetSiteMetadata", @@ -28907,17 +29381,6 @@ }, "type": "object" }, - "GoogleCloudDiscoveryengineV1betaContactDetails": { - "description": "The contact info stored in resource level. If both project level and resource level is populated, the resource level contact info will override the project level contact info.", - "id": "GoogleCloudDiscoveryengineV1betaContactDetails", - "properties": { - "emailAddress": { - "description": "Optional. The email address of the contact.", - "type": "string" - } - }, - "type": "object" - }, "GoogleCloudDiscoveryengineV1betaControl": { "description": "Defines a conditioned behavior to employ during serving. Must be attached to a ServingConfig to be considered at serving time. Permitted actions dependent on `SolutionType`.", "id": "GoogleCloudDiscoveryengineV1betaControl", @@ -30577,10 +31040,6 @@ "description": "Information about users' licenses.", "id": "GoogleCloudDiscoveryengineV1betaLicenseConfig", "properties": { - "alertPolicyResourceConfig": { - "$ref": "GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig", - "description": "Optional. The alert policy config for this license config." - }, "autoRenew": { "description": "Optional. Whether the license config should be auto renewed when it reaches the end date.", "type": "boolean" @@ -30593,6 +31052,11 @@ "description": "Optional. Whether the license config is for free trial.", "type": "boolean" }, + "geminiBundle": { + "description": "Output only. Whether the license config is for Gemini bundle.", + "readOnly": true, + "type": "boolean" + }, "licenseCount": { "description": "Required. Number of licenses purchased.", "format": "int64", diff --git a/discovery/discoveryengine-v1beta.json b/discovery/discoveryengine-v1beta.json index 043c59dec2a..dacdb277b2b 100644 --- a/discovery/discoveryengine-v1beta.json +++ b/discovery/discoveryengine-v1beta.json @@ -7,6 +7,12 @@ }, "https://www.googleapis.com/auth/cloud_search.query": { "description": "Search your organization's data in the Cloud Search index" + }, + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite": { + "description": "View your Agentspace chat history, including uploaded files and generated reports and visualizations, and interact with the Agentspace assistant on your behalf." + }, + "https://www.googleapis.com/auth/discoveryengine.readwrite": { + "description": "View, edit, create, and delete all your data associated with any Discovery Engine API product, such as Agentspace, Vertex AI Search, or NotebookLM Enterprise, including both end user data and administration or configuration data." } } } @@ -169,7 +175,9 @@ "$ref": "GdataMedia" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ], "supportsMediaDownload": true, "useMediaDownloadService": true @@ -203,7 +211,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } }, @@ -232,7 +241,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaAclConfig" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "getCmekConfig": { @@ -257,7 +267,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaCmekConfig" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "obtainCrawlRate": { @@ -285,7 +296,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaObtainCrawlRateResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "removeDedicatedCrawlRate": { @@ -313,7 +325,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "setDedicatedCrawlRate": { @@ -341,7 +354,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "updateAclConfig": { @@ -369,7 +383,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaAclConfig" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "updateCmekConfig": { @@ -402,7 +417,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } }, @@ -431,7 +447,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -456,7 +473,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaCmekConfig" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -481,7 +499,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaListCmekConfigsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -514,7 +533,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -547,7 +567,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -593,7 +614,8 @@ "$ref": "GoogleLongrunningListOperationsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -644,7 +666,9 @@ "$ref": "GoogleCloudDiscoveryengineV1betaCompleteQueryResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "create": { @@ -697,7 +721,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -722,7 +747,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -747,7 +773,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaDataStore" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "getSiteSearchEngine": { @@ -772,7 +799,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaSiteSearchEngine" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -813,7 +841,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaListDataStoresResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -847,7 +876,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaDataStore" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "trainCustomModel": { @@ -875,7 +905,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } }, @@ -916,7 +947,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaBatchGetDocumentsMetadataResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } }, @@ -953,7 +985,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaDocument" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -978,7 +1011,8 @@ "$ref": "GoogleProtobufEmpty" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -1003,7 +1037,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaDocument" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "import": { @@ -1031,7 +1066,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -1067,7 +1103,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaListDocumentsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -1106,7 +1143,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaDocument" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "purge": { @@ -1134,7 +1172,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -1166,7 +1205,8 @@ "$ref": "GoogleProtobufEmpty" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -1191,7 +1231,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -1237,7 +1278,8 @@ "$ref": "GoogleLongrunningListOperationsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -1272,7 +1314,9 @@ }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud_search.query" + "https://www.googleapis.com/auth/cloud_search.query", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -1304,7 +1348,9 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "purge": { @@ -1332,7 +1378,9 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -1369,7 +1417,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaControl" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -1394,7 +1443,8 @@ "$ref": "GoogleProtobufEmpty" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -1419,7 +1469,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaControl" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -1460,7 +1511,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaListControlsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -1494,7 +1546,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaControl" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -1526,7 +1579,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaConverseConversationResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "create": { @@ -1554,7 +1608,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaConversation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -1579,7 +1634,8 @@ "$ref": "GoogleProtobufEmpty" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -1604,7 +1660,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaConversation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -1650,7 +1707,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaListConversationsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -1684,7 +1742,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaConversation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -1713,7 +1772,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaListCustomModelsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -1744,7 +1804,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -1790,7 +1851,8 @@ "$ref": "GoogleLongrunningListOperationsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -1821,7 +1883,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -1867,7 +1930,8 @@ "$ref": "GoogleLongrunningListOperationsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -1904,7 +1968,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -1929,7 +1994,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -1954,7 +2020,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaSchema" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -1990,7 +2057,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaListSchemasResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -2023,7 +2091,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } }, @@ -2052,7 +2121,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -2098,7 +2168,8 @@ "$ref": "GoogleLongrunningListOperationsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -2132,7 +2203,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaAnswerQueryResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -2157,7 +2229,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaServingConfig" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -2193,7 +2266,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaListServingConfigsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -2227,7 +2301,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaServingConfig" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "recommend": { @@ -2255,7 +2330,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaRecommendResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "search": { @@ -2283,7 +2359,9 @@ "$ref": "GoogleCloudDiscoveryengineV1betaSearchResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "searchLite": { @@ -2311,7 +2389,9 @@ "$ref": "GoogleCloudDiscoveryengineV1betaSearchResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "streamAnswer": { @@ -2339,7 +2419,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaAnswerQueryResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -2371,7 +2452,9 @@ "$ref": "GoogleCloudDiscoveryengineV1betaSession" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -2396,7 +2479,9 @@ "$ref": "GoogleProtobufEmpty" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -2426,7 +2511,9 @@ "$ref": "GoogleCloudDiscoveryengineV1betaSession" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -2472,7 +2559,9 @@ "$ref": "GoogleCloudDiscoveryengineV1betaListSessionsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -2506,7 +2595,9 @@ "$ref": "GoogleCloudDiscoveryengineV1betaSession" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } }, @@ -2535,7 +2626,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaAnswer" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -2569,7 +2661,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "disableAdvancedSiteSearch": { @@ -2597,7 +2690,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "enableAdvancedSiteSearch": { @@ -2625,7 +2719,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "fetchDomainVerificationStatus": { @@ -2661,7 +2756,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaFetchDomainVerificationStatusResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "recrawlUris": { @@ -2689,7 +2785,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } }, @@ -2718,7 +2815,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -2764,7 +2862,8 @@ "$ref": "GoogleLongrunningListOperationsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -2796,7 +2895,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -2821,7 +2921,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "fetch": { @@ -2852,7 +2953,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaFetchSitemapsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -2884,7 +2986,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "create": { @@ -2912,7 +3015,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -2937,7 +3041,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -2962,7 +3067,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaTargetSite" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -2998,7 +3104,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaListTargetSitesResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -3026,7 +3133,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } }, @@ -3055,7 +3163,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -3101,7 +3210,8 @@ "$ref": "GoogleLongrunningListOperationsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -3137,7 +3247,9 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "purge": { @@ -3165,7 +3277,9 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -3210,7 +3324,9 @@ "$ref": "GoogleApiHttpBody" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "import": { @@ -3238,7 +3354,9 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "purge": { @@ -3266,7 +3384,9 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "write": { @@ -3299,7 +3419,9 @@ "$ref": "GoogleCloudDiscoveryengineV1betaUserEvent" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -3338,7 +3460,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -3363,7 +3486,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -3388,7 +3512,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaEngine" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -3429,7 +3554,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaListEnginesResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -3463,7 +3589,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaEngine" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "pause": { @@ -3491,7 +3618,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaEngine" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "resume": { @@ -3519,7 +3647,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaEngine" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "tune": { @@ -3547,7 +3676,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } }, @@ -3576,7 +3706,9 @@ "$ref": "GoogleCloudDiscoveryengineV1betaAssistant" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -3610,7 +3742,9 @@ "$ref": "GoogleCloudDiscoveryengineV1betaAssistant" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "streamAssist": { @@ -3638,7 +3772,9 @@ "$ref": "GoogleCloudDiscoveryengineV1betaStreamAssistResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -3671,7 +3807,9 @@ }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud_search.query" + "https://www.googleapis.com/auth/cloud_search.query", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "removeSuggestion": { @@ -3699,7 +3837,9 @@ "$ref": "GoogleCloudDiscoveryengineV1betaRemoveSuggestionResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -3736,7 +3876,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaControl" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -3761,7 +3902,8 @@ "$ref": "GoogleProtobufEmpty" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -3786,7 +3928,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaControl" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -3827,7 +3970,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaListControlsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -3861,7 +4005,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaControl" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -3893,7 +4038,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaConverseConversationResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "create": { @@ -3921,7 +4067,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaConversation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -3946,7 +4093,8 @@ "$ref": "GoogleProtobufEmpty" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -3971,7 +4119,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaConversation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -4017,7 +4166,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaListConversationsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -4051,7 +4201,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaConversation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -4080,7 +4231,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -4126,7 +4278,8 @@ "$ref": "GoogleLongrunningListOperationsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -4158,7 +4311,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaAnswerQueryResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -4183,7 +4337,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaServingConfig" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -4219,7 +4374,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaListServingConfigsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -4253,7 +4409,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaServingConfig" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "recommend": { @@ -4281,7 +4438,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaRecommendResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "search": { @@ -4309,7 +4467,9 @@ "$ref": "GoogleCloudDiscoveryengineV1betaSearchResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "searchLite": { @@ -4337,7 +4497,9 @@ "$ref": "GoogleCloudDiscoveryengineV1betaSearchResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "streamAnswer": { @@ -4365,7 +4527,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaAnswerQueryResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -4397,7 +4560,9 @@ "$ref": "GoogleCloudDiscoveryengineV1betaSession" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -4422,7 +4587,9 @@ "$ref": "GoogleProtobufEmpty" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -4452,7 +4619,9 @@ "$ref": "GoogleCloudDiscoveryengineV1betaSession" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -4498,7 +4667,9 @@ "$ref": "GoogleCloudDiscoveryengineV1betaListSessionsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -4532,7 +4703,9 @@ "$ref": "GoogleCloudDiscoveryengineV1betaSession" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } }, @@ -4561,7 +4734,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaAnswer" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -4594,7 +4768,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -4640,7 +4815,8 @@ "$ref": "GoogleLongrunningListOperationsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -4691,7 +4867,9 @@ "$ref": "GoogleCloudDiscoveryengineV1betaCompleteQueryResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "create": { @@ -4744,7 +4922,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -4769,7 +4948,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -4794,7 +4974,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaDataStore" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "getSiteSearchEngine": { @@ -4819,7 +5000,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaSiteSearchEngine" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -4860,7 +5042,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaListDataStoresResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -4894,7 +5077,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaDataStore" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } }, @@ -4935,7 +5119,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaBatchGetDocumentsMetadataResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } }, @@ -4972,7 +5157,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaDocument" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -4997,7 +5183,8 @@ "$ref": "GoogleProtobufEmpty" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -5022,7 +5209,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaDocument" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "import": { @@ -5050,7 +5238,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -5086,7 +5275,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaListDocumentsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -5125,7 +5315,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaDocument" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "purge": { @@ -5153,7 +5344,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -5185,7 +5377,8 @@ "$ref": "GoogleProtobufEmpty" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -5210,7 +5403,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -5256,7 +5450,8 @@ "$ref": "GoogleLongrunningListOperationsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -5291,7 +5486,9 @@ }, "scopes": [ "https://www.googleapis.com/auth/cloud-platform", - "https://www.googleapis.com/auth/cloud_search.query" + "https://www.googleapis.com/auth/cloud_search.query", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -5323,7 +5520,9 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "purge": { @@ -5351,7 +5550,9 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -5388,7 +5589,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaControl" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -5413,7 +5615,8 @@ "$ref": "GoogleProtobufEmpty" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -5438,7 +5641,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaControl" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -5479,7 +5683,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaListControlsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -5513,7 +5718,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaControl" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -5545,7 +5751,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaConverseConversationResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "create": { @@ -5573,7 +5780,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaConversation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -5598,7 +5806,8 @@ "$ref": "GoogleProtobufEmpty" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -5623,7 +5832,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaConversation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -5669,7 +5879,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaListConversationsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -5703,7 +5914,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaConversation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -5734,7 +5946,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -5780,7 +5993,8 @@ "$ref": "GoogleLongrunningListOperationsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -5811,7 +6025,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -5857,7 +6072,8 @@ "$ref": "GoogleLongrunningListOperationsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -5894,7 +6110,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -5919,7 +6136,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -5944,7 +6162,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaSchema" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -5980,7 +6199,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaListSchemasResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -6013,7 +6233,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -6045,7 +6266,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaAnswerQueryResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -6070,7 +6292,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaServingConfig" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -6106,7 +6329,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaListServingConfigsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -6140,7 +6364,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaServingConfig" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "recommend": { @@ -6168,7 +6393,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaRecommendResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "search": { @@ -6196,7 +6422,9 @@ "$ref": "GoogleCloudDiscoveryengineV1betaSearchResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "searchLite": { @@ -6224,7 +6452,9 @@ "$ref": "GoogleCloudDiscoveryengineV1betaSearchResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "streamAnswer": { @@ -6252,7 +6482,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaAnswerQueryResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -6284,7 +6515,9 @@ "$ref": "GoogleCloudDiscoveryengineV1betaSession" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -6309,7 +6542,9 @@ "$ref": "GoogleProtobufEmpty" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -6339,7 +6574,9 @@ "$ref": "GoogleCloudDiscoveryengineV1betaSession" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -6385,7 +6622,9 @@ "$ref": "GoogleCloudDiscoveryengineV1betaListSessionsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -6419,7 +6658,9 @@ "$ref": "GoogleCloudDiscoveryengineV1betaSession" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } }, @@ -6448,7 +6689,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaAnswer" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -6482,7 +6724,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "enableAdvancedSiteSearch": { @@ -6510,7 +6753,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "recrawlUris": { @@ -6538,7 +6782,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } }, @@ -6570,7 +6815,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -6595,7 +6841,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "fetch": { @@ -6626,7 +6873,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaFetchSitemapsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -6658,7 +6906,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "create": { @@ -6686,7 +6935,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -6711,7 +6961,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -6736,7 +6987,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaTargetSite" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -6772,7 +7024,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaListTargetSitesResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -6800,7 +7053,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -6834,7 +7088,9 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "purge": { @@ -6862,7 +7118,9 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -6907,7 +7165,9 @@ "$ref": "GoogleApiHttpBody" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "import": { @@ -6935,7 +7195,9 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "purge": { @@ -6963,7 +7225,9 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "write": { @@ -6996,7 +7260,9 @@ "$ref": "GoogleCloudDiscoveryengineV1betaUserEvent" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -7030,7 +7296,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -7055,7 +7322,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaEvaluation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -7091,7 +7359,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaListEvaluationsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "listResults": { @@ -7127,7 +7396,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaListEvaluationResultsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } }, @@ -7156,7 +7426,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -7190,7 +7461,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaCheckGroundingResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -7237,7 +7509,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaIdentityMappingStore" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -7262,7 +7535,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -7287,7 +7561,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaIdentityMappingStore" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "importIdentityMappings": { @@ -7315,7 +7590,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -7351,7 +7627,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaListIdentityMappingStoresResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "listIdentityMappings": { @@ -7387,7 +7664,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaListIdentityMappingsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "purgeIdentityMappings": { @@ -7415,7 +7693,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } }, @@ -7444,7 +7723,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -7490,7 +7770,8 @@ "$ref": "GoogleLongrunningListOperationsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -7529,7 +7810,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaLicenseConfig" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -7554,7 +7836,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaLicenseConfig" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -7588,7 +7871,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaLicenseConfig" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -7617,7 +7901,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -7663,7 +7948,8 @@ "$ref": "GoogleLongrunningListOperationsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -7694,7 +7980,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -7728,7 +8015,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaRankResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -7765,7 +8053,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaSampleQuerySet" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -7790,7 +8079,8 @@ "$ref": "GoogleProtobufEmpty" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -7815,7 +8105,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaSampleQuerySet" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -7851,7 +8142,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaListSampleQuerySetsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -7885,7 +8177,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaSampleQuerySet" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } }, @@ -7914,7 +8207,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -7951,7 +8245,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaSampleQuery" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "delete": { @@ -7976,7 +8271,8 @@ "$ref": "GoogleProtobufEmpty" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "get": { @@ -8001,7 +8297,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaSampleQuery" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "import": { @@ -8029,7 +8326,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -8065,7 +8363,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaListSampleQueriesResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "patch": { @@ -8099,7 +8398,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaSampleQuery" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -8146,7 +8446,9 @@ "$ref": "GoogleApiHttpBody" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "import": { @@ -8174,7 +8476,9 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "write": { @@ -8207,7 +8511,9 @@ "$ref": "GoogleCloudDiscoveryengineV1betaUserEvent" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.assist.readwrite", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -8239,7 +8545,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } }, @@ -8284,7 +8591,8 @@ "$ref": "GoogleCloudDiscoveryengineV1betaListUserLicensesResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -8317,7 +8625,8 @@ "$ref": "GoogleLongrunningOperation" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] }, "list": { @@ -8363,7 +8672,8 @@ "$ref": "GoogleLongrunningListOperationsResponse" }, "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/discoveryengine.readwrite" ] } } @@ -8371,7 +8681,7 @@ } } }, - "revision": "20250929", + "revision": "20251017", "rootUrl": "https://discoveryengine.googleapis.com/", "schemas": { "GdataBlobstore2Info": { @@ -9322,67 +9632,6 @@ }, "type": "object" }, - "GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig": { - "description": "The resource level alert config. Used in: * UserLicense * EngineUserData The AlertPolicyConfig in data connector is of same usage. No easy way to migrate.", - "id": "GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig", - "properties": { - "alertEnrollments": { - "description": "Optional. The enrollment state of each alert.", - "items": { - "$ref": "GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment" - }, - "type": "array" - }, - "alertPolicy": { - "description": "Immutable. The fully qualified resource name of the AlertPolicy.", - "type": "string" - }, - "contactDetails": { - "description": "Optional. The contact details for each alert policy.", - "items": { - "$ref": "GoogleCloudDiscoveryengineV1ContactDetails" - }, - "type": "array" - }, - "languageCode": { - "description": "Optional. The language code used for notifications", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment": { - "description": "The alert enrollment status.", - "id": "GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment", - "properties": { - "alertId": { - "description": "Immutable. The id of an alert.", - "type": "string" - }, - "enrollState": { - "description": "Required. The enrollment status of a customer.", - "enum": [ - "ENROLL_STATE_UNSPECIFIED", - "ENROLLED", - "DECLINED" - ], - "enumDescriptions": [ - "Default value. Used for customers who have not responded to the alert policy.", - "Customer is enrolled in this policy.", - "Customer declined this policy." - ], - "type": "string" - }, - "notificationParams": { - "additionalProperties": { - "type": "string" - }, - "description": "Optional. Parameters used to instantiate a notification. Used for notifications that are triggered when registered. Not stored. * Gemini Business welcome emails. * Gemini Business user invitation emails.", - "type": "object" - } - }, - "type": "object" - }, "GoogleCloudDiscoveryengineV1AnswerGenerationSpec": { "description": "The specification for answer generation.", "id": "GoogleCloudDiscoveryengineV1AnswerGenerationSpec", @@ -9884,17 +10133,6 @@ }, "type": "object" }, - "GoogleCloudDiscoveryengineV1ContactDetails": { - "description": "The contact info stored in resource level. If both project level and resource level is populated, the resource level contact info will override the project level contact info.", - "id": "GoogleCloudDiscoveryengineV1ContactDetails", - "properties": { - "emailAddress": { - "description": "Optional. The email address of the contact.", - "type": "string" - } - }, - "type": "object" - }, "GoogleCloudDiscoveryengineV1Control": { "description": "Defines a conditioned behavior to employ during serving. Must be attached to a ServingConfig to be considered at serving time. Permitted actions dependent on `SolutionType`.", "id": "GoogleCloudDiscoveryengineV1Control", @@ -11894,10 +12132,6 @@ "description": "Information about users' licenses.", "id": "GoogleCloudDiscoveryengineV1LicenseConfig", "properties": { - "alertPolicyResourceConfig": { - "$ref": "GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig", - "description": "Optional. The alert policy config for this license config." - }, "autoRenew": { "description": "Optional. Whether the license config should be auto renewed when it reaches the end date.", "type": "boolean" @@ -11910,6 +12144,11 @@ "description": "Optional. Whether the license config is for free trial.", "type": "boolean" }, + "geminiBundle": { + "description": "Output only. Whether the license config is for Gemini bundle.", + "readOnly": true, + "type": "boolean" + }, "licenseCount": { "description": "Required. Number of licenses purchased.", "format": "int64", @@ -14078,6 +14317,10 @@ "description": "A piece of content and possibly its grounding information. Not all content needs grounding. Phrases like \"Of course, I will gladly search it for you.\" do not need grounding.", "id": "GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent", "properties": { + "citationMetadata": { + "$ref": "GoogleCloudDiscoveryengineV1alphaCitationMetadata", + "description": "Source attribution of the generated content. See also https://cloud.google.com/vertex-ai/generative-ai/docs/learn/overview#citation_check" + }, "content": { "$ref": "GoogleCloudDiscoveryengineV1alphaAssistantContent", "description": "The content." @@ -14302,6 +14545,60 @@ }, "type": "object" }, + "GoogleCloudDiscoveryengineV1alphaCitation": { + "description": "Source attributions for content.", + "id": "GoogleCloudDiscoveryengineV1alphaCitation", + "properties": { + "endIndex": { + "description": "Output only. End index into the content.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "license": { + "description": "Output only. License of the attribution.", + "readOnly": true, + "type": "string" + }, + "publicationDate": { + "$ref": "GoogleTypeDate", + "description": "Output only. Publication date of the attribution.", + "readOnly": true + }, + "startIndex": { + "description": "Output only. Start index into the content.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "title": { + "description": "Output only. Title of the attribution.", + "readOnly": true, + "type": "string" + }, + "uri": { + "description": "Output only. Url reference of the attribution.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDiscoveryengineV1alphaCitationMetadata": { + "description": "A collection of source attributions for a piece of content.", + "id": "GoogleCloudDiscoveryengineV1alphaCitationMetadata", + "properties": { + "citations": { + "description": "Output only. List of citations.", + "items": { + "$ref": "GoogleCloudDiscoveryengineV1alphaCitation" + }, + "readOnly": true, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudDiscoveryengineV1alphaCmekConfig": { "description": "Configurations used to enable CMEK data encryption with Cloud KMS keys.", "id": "GoogleCloudDiscoveryengineV1alphaCmekConfig", @@ -17300,6 +17597,11 @@ "description": "Optional. Whether the license config is for free trial.", "type": "boolean" }, + "geminiBundle": { + "description": "Output only. Whether the license config is for Gemini bundle.", + "readOnly": true, + "type": "boolean" + }, "licenseCount": { "description": "Required. Number of licenses purchased.", "format": "int64", @@ -19045,6 +19347,13 @@ "description": "Optional. Whether the session is pinned, pinned session will be displayed on the top of the session list.", "type": "boolean" }, + "labels": { + "description": "Optional. The labels for the session. Can be set as filter in ListSessionsRequest.", + "items": { + "type": "string" + }, + "type": "array" + }, "name": { "description": "Immutable. Fully qualified name `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/*`", "type": "string" @@ -19987,67 +20296,6 @@ }, "type": "object" }, - "GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig": { - "description": "The resource level alert config. Used in: * UserLicense * EngineUserData The AlertPolicyConfig in data connector is of same usage. No easy way to migrate.", - "id": "GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig", - "properties": { - "alertEnrollments": { - "description": "Optional. The enrollment state of each alert.", - "items": { - "$ref": "GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment" - }, - "type": "array" - }, - "alertPolicy": { - "description": "Immutable. The fully qualified resource name of the AlertPolicy.", - "type": "string" - }, - "contactDetails": { - "description": "Optional. The contact details for each alert policy.", - "items": { - "$ref": "GoogleCloudDiscoveryengineV1betaContactDetails" - }, - "type": "array" - }, - "languageCode": { - "description": "Optional. The language code used for notifications", - "type": "string" - } - }, - "type": "object" - }, - "GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment": { - "description": "The alert enrollment status.", - "id": "GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment", - "properties": { - "alertId": { - "description": "Immutable. The id of an alert.", - "type": "string" - }, - "enrollState": { - "description": "Required. The enrollment status of a customer.", - "enum": [ - "ENROLL_STATE_UNSPECIFIED", - "ENROLLED", - "DECLINED" - ], - "enumDescriptions": [ - "Default value. Used for customers who have not responded to the alert policy.", - "Customer is enrolled in this policy.", - "Customer declined this policy." - ], - "type": "string" - }, - "notificationParams": { - "additionalProperties": { - "type": "string" - }, - "description": "Optional. Parameters used to instantiate a notification. Used for notifications that are triggered when registered. Not stored. * Gemini Business welcome emails. * Gemini Business user invitation emails.", - "type": "object" - } - }, - "type": "object" - }, "GoogleCloudDiscoveryengineV1betaAlloyDbSource": { "description": "AlloyDB source import data from.", "id": "GoogleCloudDiscoveryengineV1betaAlloyDbSource", @@ -21785,6 +22033,10 @@ "description": "A piece of content and possibly its grounding information. Not all content needs grounding. Phrases like \"Of course, I will gladly search it for you.\" do not need grounding.", "id": "GoogleCloudDiscoveryengineV1betaAssistantGroundedContent", "properties": { + "citationMetadata": { + "$ref": "GoogleCloudDiscoveryengineV1betaCitationMetadata", + "description": "Source attribution of the generated content. See also https://cloud.google.com/vertex-ai/generative-ai/docs/learn/overview#citation_check" + }, "content": { "$ref": "GoogleCloudDiscoveryengineV1betaAssistantContent", "description": "The content." @@ -22615,6 +22867,60 @@ }, "type": "object" }, + "GoogleCloudDiscoveryengineV1betaCitation": { + "description": "Source attributions for content.", + "id": "GoogleCloudDiscoveryengineV1betaCitation", + "properties": { + "endIndex": { + "description": "Output only. End index into the content.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "license": { + "description": "Output only. License of the attribution.", + "readOnly": true, + "type": "string" + }, + "publicationDate": { + "$ref": "GoogleTypeDate", + "description": "Output only. Publication date of the attribution.", + "readOnly": true + }, + "startIndex": { + "description": "Output only. Start index into the content.", + "format": "int32", + "readOnly": true, + "type": "integer" + }, + "title": { + "description": "Output only. Title of the attribution.", + "readOnly": true, + "type": "string" + }, + "uri": { + "description": "Output only. Url reference of the attribution.", + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudDiscoveryengineV1betaCitationMetadata": { + "description": "A collection of source attributions for a piece of content.", + "id": "GoogleCloudDiscoveryengineV1betaCitationMetadata", + "properties": { + "citations": { + "description": "Output only. List of citations.", + "items": { + "$ref": "GoogleCloudDiscoveryengineV1betaCitation" + }, + "readOnly": true, + "type": "array" + } + }, + "type": "object" + }, "GoogleCloudDiscoveryengineV1betaCloudSqlSource": { "description": "Cloud SQL source import data from.", "id": "GoogleCloudDiscoveryengineV1betaCloudSqlSource", @@ -22880,17 +23186,6 @@ }, "type": "object" }, - "GoogleCloudDiscoveryengineV1betaContactDetails": { - "description": "The contact info stored in resource level. If both project level and resource level is populated, the resource level contact info will override the project level contact info.", - "id": "GoogleCloudDiscoveryengineV1betaContactDetails", - "properties": { - "emailAddress": { - "description": "Optional. The email address of the contact.", - "type": "string" - } - }, - "type": "object" - }, "GoogleCloudDiscoveryengineV1betaControl": { "description": "Defines a conditioned behavior to employ during serving. Must be attached to a ServingConfig to be considered at serving time. Permitted actions dependent on `SolutionType`.", "id": "GoogleCloudDiscoveryengineV1betaControl", @@ -25497,10 +25792,6 @@ "description": "Information about users' licenses.", "id": "GoogleCloudDiscoveryengineV1betaLicenseConfig", "properties": { - "alertPolicyResourceConfig": { - "$ref": "GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig", - "description": "Optional. The alert policy config for this license config." - }, "autoRenew": { "description": "Optional. Whether the license config should be auto renewed when it reaches the end date.", "type": "boolean" @@ -25513,6 +25804,11 @@ "description": "Optional. Whether the license config is for free trial.", "type": "boolean" }, + "geminiBundle": { + "description": "Output only. Whether the license config is for Gemini bundle.", + "readOnly": true, + "type": "boolean" + }, "licenseCount": { "description": "Required. Number of licenses purchased.", "format": "int64", @@ -28934,6 +29230,13 @@ "description": "Optional. Whether the session is pinned, pinned session will be displayed on the top of the session list.", "type": "boolean" }, + "labels": { + "description": "Optional. The labels for the session. Can be set as filter in ListSessionsRequest.", + "items": { + "type": "string" + }, + "type": "array" + }, "name": { "description": "Immutable. Fully qualified name `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/*`", "type": "string" @@ -29299,7 +29602,7 @@ }, "sessionInfo": { "$ref": "GoogleCloudDiscoveryengineV1betaStreamAssistResponseSessionInfo", - "description": "Session information." + "description": "Session information. Only included in the final StreamAssistResponse of the response stream." } }, "type": "object" diff --git a/discovery/dlp-v2.json b/discovery/dlp-v2.json index bf6ce1e736d..6820f707ef6 100644 --- a/discovery/dlp-v2.json +++ b/discovery/dlp-v2.json @@ -783,7 +783,7 @@ ], "parameters": { "filter": { - "description": "Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * Supported fields: - `table_data_profile_name`: The name of the related table data profile - `project_id`: The Google Cloud project ID (REQUIRED) - `dataset_id`: The BigQuery dataset ID (REQUIRED) - `table_id`: The BigQuery table ID (REQUIRED) - `field_id`: The ID of the BigQuery field - `info_type`: The infotype detected in the resource - `sensitivity_level`: HIGH|MEDIUM|LOW - `data_risk_level`: How much risk is associated with this data - `status_code`: An RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto - `profile_last_generated`: Date and time the profile was last generated * The operator must be `=` for project_id, dataset_id, and table_id. Other filters also support `!=`. The `profile_last_generated` filter also supports `<` and `>`. Examples: * project_id = 12345 AND status_code = 1 * project_id = 12345 AND sensitivity_level = HIGH * project_id = 12345 AND info_type = STREET_ADDRESS * profile_last_generated < \"2025-01-01T00:00:00.000Z\" The length of this field should be no more than 500 characters.", + "description": "Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * Supported fields: - `table_data_profile_name`: The name of the related table data profile - `project_id`: The Google Cloud project ID (REQUIRED) - `dataset_id`: The BigQuery dataset ID (REQUIRED) - `table_id`: The BigQuery table ID (REQUIRED) - `field_id`: The ID of the BigQuery field - `info_type`: The infotype detected in the resource - `sensitivity_level`: HIGH|MEDIUM|LOW - `data_risk_level`: How much risk is associated with this data - `status_code`: An RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto - `profile_last_generated`: Date and time the profile was last generated * The operator must be `=` for project_id, dataset_id, and table_id. Other filters also support `!=`. The `profile_last_generated` filter also supports `<` and `>`. The syntax is based on https://google.aip.dev/160. Examples: * project_id = 12345 AND status_code = 1 * project_id = 12345 AND sensitivity_level = HIGH * project_id = 12345 AND info_type = STREET_ADDRESS * profile_last_generated < \"2025-01-01T00:00:00.000Z\" The length of this field should be no more than 500 characters.", "location": "query", "type": "string" }, @@ -911,7 +911,7 @@ ], "parameters": { "filter": { - "description": "Optional. Supported field/value: `state` - MISSING|AVAILABLE|ERROR", + "description": "Optional. Supported field/value: `state` - MISSING|AVAILABLE|ERROR The syntax is based on https://google.aip.dev/160.", "location": "query", "type": "string" }, @@ -980,7 +980,7 @@ ], "parameters": { "filter": { - "description": "Optional. Supported field/value: - `state` - MISSING|AVAILABLE|ERROR", + "description": "Optional. Supported field/value: - `state` - MISSING|AVAILABLE|ERROR The syntax is based on https://google.aip.dev/160.", "location": "query", "type": "string" }, @@ -1332,7 +1332,7 @@ ], "parameters": { "filter": { - "description": "Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * Supported fields/values for inspect jobs: - `state` - PENDING|RUNNING|CANCELED|FINISHED|FAILED - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY - `trigger_name` - The name of the trigger that created the job. - 'end_time` - Corresponds to the time the job finished. - 'start_time` - Corresponds to the time the job finished. * Supported fields for risk analysis jobs: - `state` - RUNNING|CANCELED|FINISHED|FAILED - 'end_time` - Corresponds to the time the job finished. - 'start_time` - Corresponds to the time the job finished. * The operator must be `=` or `!=`. Examples: * inspected_storage = cloud_storage AND state = done * inspected_storage = cloud_storage OR inspected_storage = bigquery * inspected_storage = cloud_storage AND (state = done OR state = canceled) * end_time > \\\"2017-12-12T00:00:00+00:00\\\" The length of this field should be no more than 500 characters.", + "description": "Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * Supported fields/values for inspect jobs: - `state` - PENDING|RUNNING|CANCELED|FINISHED|FAILED - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY - `trigger_name` - The name of the trigger that created the job. - 'end_time` - Corresponds to the time the job finished. - 'start_time` - Corresponds to the time the job finished. * Supported fields for risk analysis jobs: - `state` - RUNNING|CANCELED|FINISHED|FAILED - 'end_time` - Corresponds to the time the job finished. - 'start_time` - Corresponds to the time the job finished. * The operator must be `=` or `!=`. The syntax is based on https://google.aip.dev/160. Examples: * inspected_storage = cloud_storage AND state = done * inspected_storage = cloud_storage OR inspected_storage = bigquery * inspected_storage = cloud_storage AND (state = done OR state = canceled) * end_time > \\\"2017-12-12T00:00:00+00:00\\\" The length of this field should be no more than 500 characters.", "location": "query", "type": "string" }, @@ -1452,7 +1452,7 @@ ], "parameters": { "filter": { - "description": "Optional. Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * Supported fields: - `project_id`: The Google Cloud project ID - `account_id`: The AWS account ID - `file_store_path`: The path like \"gs://bucket\" - `data_source_type`: The profile's data source type, like \"google/storage/bucket\" - `data_storage_location`: The location where the file store's data is stored, like \"us-central1\" - `sensitivity_level`: HIGH|MODERATE|LOW - `data_risk_level`: HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC|RESTRICTED - `status_code`: an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto - `profile_last_generated`: Date and time the profile was last generated * The operator must be `=` or `!=`. The `profile_last_generated` filter also supports `<` and `>`. Examples: * `project_id = 12345 AND status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH` * `project_id = 12345 AND resource_visibility = PUBLIC` * `file_store_path = \"gs://mybucket\"` * `profile_last_generated < \"2025-01-01T00:00:00.000Z\"` The length of this field should be no more than 500 characters.", + "description": "Optional. Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * Supported fields: - `project_id`: The Google Cloud project ID - `account_id`: The AWS account ID - `file_store_path`: The path like \"gs://bucket\" - `data_source_type`: The profile's data source type, like \"google/storage/bucket\" - `data_storage_location`: The location where the file store's data is stored, like \"us-central1\" - `sensitivity_level`: HIGH|MODERATE|LOW - `data_risk_level`: HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC|RESTRICTED - `status_code`: an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto - `profile_last_generated`: Date and time the profile was last generated * The operator must be `=` or `!=`. The `profile_last_generated` filter also supports `<` and `>`. The syntax is based on https://google.aip.dev/160. Examples: * `project_id = 12345 AND status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH` * `project_id = 12345 AND resource_visibility = PUBLIC` * `file_store_path = \"gs://mybucket\"` * `profile_last_generated < \"2025-01-01T00:00:00.000Z\"` The length of this field should be no more than 500 characters.", "location": "query", "type": "string" }, @@ -1780,7 +1780,7 @@ ], "parameters": { "filter": { - "description": "Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * Supported fields/values for inspect triggers: - `status` - HEALTHY|PAUSED|CANCELLED - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by quotation marks. Nanoseconds are ignored. - 'error_count' - Number of errors that have occurred while running. * The operator must be `=` or `!=` for status and inspected_storage. Examples: * inspected_storage = cloud_storage AND status = HEALTHY * inspected_storage = cloud_storage OR inspected_storage = bigquery * inspected_storage = cloud_storage AND (state = PAUSED OR state = HEALTHY) * last_run_time > \\\"2017-12-12T00:00:00+00:00\\\" The length of this field should be no more than 500 characters.", + "description": "Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * Supported fields/values for inspect triggers: - `status` - HEALTHY|PAUSED|CANCELLED - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by quotation marks. Nanoseconds are ignored. - 'error_count' - Number of errors that have occurred while running. * The operator must be `=` or `!=` for status and inspected_storage. The syntax is based on https://google.aip.dev/160. Examples: * inspected_storage = cloud_storage AND status = HEALTHY * inspected_storage = cloud_storage OR inspected_storage = bigquery * inspected_storage = cloud_storage AND (state = PAUSED OR state = HEALTHY) * last_run_time > \\\"2017-12-12T00:00:00+00:00\\\" The length of this field should be no more than 500 characters.", "location": "query", "type": "string" }, @@ -1903,7 +1903,7 @@ ], "parameters": { "filter": { - "description": "Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * Supported fields: - `project_id`: the Google Cloud project ID - `sensitivity_level`: HIGH|MODERATE|LOW - `data_risk_level`: HIGH|MODERATE|LOW - `status_code`: an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto - `profile_last_generated`: Date and time the profile was last generated * The operator must be `=` or `!=`. The `profile_last_generated` filter also supports `<` and `>`. Examples: * `project_id = 12345 AND status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH` * `profile_last_generated < \"2025-01-01T00:00:00.000Z\"` The length of this field should be no more than 500 characters.", + "description": "Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * Supported fields: - `project_id`: the Google Cloud project ID - `sensitivity_level`: HIGH|MODERATE|LOW - `data_risk_level`: HIGH|MODERATE|LOW - `status_code`: an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto - `profile_last_generated`: Date and time the profile was last generated * The operator must be `=` or `!=`. The `profile_last_generated` filter also supports `<` and `>`. The syntax is based on https://google.aip.dev/160. Examples: * `project_id = 12345 AND status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH` * `profile_last_generated < \"2025-01-01T00:00:00.000Z\"` The length of this field should be no more than 500 characters.", "location": "query", "type": "string" }, @@ -2159,7 +2159,7 @@ ], "parameters": { "filter": { - "description": "Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * Supported fields: - `project_id`: The Google Cloud project ID - `dataset_id`: The BigQuery dataset ID - `table_id`: The ID of the BigQuery table - `sensitivity_level`: HIGH|MODERATE|LOW - `data_risk_level`: HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC|RESTRICTED - `status_code`: an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto - `profile_last_generated`: Date and time the profile was last generated * The operator must be `=` or `!=`. The `profile_last_generated` filter also supports `<` and `>`. Examples: * `project_id = 12345 AND status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH` * `project_id = 12345 AND resource_visibility = PUBLIC` * `profile_last_generated < \"2025-01-01T00:00:00.000Z\"` The length of this field should be no more than 500 characters.", + "description": "Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * Supported fields: - `project_id`: The Google Cloud project ID - `dataset_id`: The BigQuery dataset ID - `table_id`: The ID of the BigQuery table - `sensitivity_level`: HIGH|MODERATE|LOW - `data_risk_level`: HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC|RESTRICTED - `status_code`: an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto - `profile_last_generated`: Date and time the profile was last generated * The operator must be `=` or `!=`. The `profile_last_generated` filter also supports `<` and `>`. The syntax is based on https://google.aip.dev/160. Examples: * `project_id = 12345 AND status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH` * `project_id = 12345 AND resource_visibility = PUBLIC` * `profile_last_generated < \"2025-01-01T00:00:00.000Z\"` The length of this field should be no more than 500 characters.", "location": "query", "type": "string" }, @@ -2721,7 +2721,7 @@ ], "parameters": { "filter": { - "description": "Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * Supported fields/values for inspect jobs: - `state` - PENDING|RUNNING|CANCELED|FINISHED|FAILED - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY - `trigger_name` - The name of the trigger that created the job. - 'end_time` - Corresponds to the time the job finished. - 'start_time` - Corresponds to the time the job finished. * Supported fields for risk analysis jobs: - `state` - RUNNING|CANCELED|FINISHED|FAILED - 'end_time` - Corresponds to the time the job finished. - 'start_time` - Corresponds to the time the job finished. * The operator must be `=` or `!=`. Examples: * inspected_storage = cloud_storage AND state = done * inspected_storage = cloud_storage OR inspected_storage = bigquery * inspected_storage = cloud_storage AND (state = done OR state = canceled) * end_time > \\\"2017-12-12T00:00:00+00:00\\\" The length of this field should be no more than 500 characters.", + "description": "Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * Supported fields/values for inspect jobs: - `state` - PENDING|RUNNING|CANCELED|FINISHED|FAILED - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY - `trigger_name` - The name of the trigger that created the job. - 'end_time` - Corresponds to the time the job finished. - 'start_time` - Corresponds to the time the job finished. * Supported fields for risk analysis jobs: - `state` - RUNNING|CANCELED|FINISHED|FAILED - 'end_time` - Corresponds to the time the job finished. - 'start_time` - Corresponds to the time the job finished. * The operator must be `=` or `!=`. The syntax is based on https://google.aip.dev/160. Examples: * inspected_storage = cloud_storage AND state = done * inspected_storage = cloud_storage OR inspected_storage = bigquery * inspected_storage = cloud_storage AND (state = done OR state = canceled) * end_time > \\\"2017-12-12T00:00:00+00:00\\\" The length of this field should be no more than 500 characters.", "location": "query", "type": "string" }, @@ -3085,7 +3085,7 @@ ], "parameters": { "filter": { - "description": "Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * Supported fields/values for inspect triggers: - `status` - HEALTHY|PAUSED|CANCELLED - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by quotation marks. Nanoseconds are ignored. - 'error_count' - Number of errors that have occurred while running. * The operator must be `=` or `!=` for status and inspected_storage. Examples: * inspected_storage = cloud_storage AND status = HEALTHY * inspected_storage = cloud_storage OR inspected_storage = bigquery * inspected_storage = cloud_storage AND (state = PAUSED OR state = HEALTHY) * last_run_time > \\\"2017-12-12T00:00:00+00:00\\\" The length of this field should be no more than 500 characters.", + "description": "Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * Supported fields/values for inspect triggers: - `status` - HEALTHY|PAUSED|CANCELLED - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by quotation marks. Nanoseconds are ignored. - 'error_count' - Number of errors that have occurred while running. * The operator must be `=` or `!=` for status and inspected_storage. The syntax is based on https://google.aip.dev/160. Examples: * inspected_storage = cloud_storage AND status = HEALTHY * inspected_storage = cloud_storage OR inspected_storage = bigquery * inspected_storage = cloud_storage AND (state = PAUSED OR state = HEALTHY) * last_run_time > \\\"2017-12-12T00:00:00+00:00\\\" The length of this field should be no more than 500 characters.", "location": "query", "type": "string" }, @@ -3210,7 +3210,7 @@ ], "parameters": { "filter": { - "description": "Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * Supported fields: - `table_data_profile_name`: The name of the related table data profile - `project_id`: The Google Cloud project ID (REQUIRED) - `dataset_id`: The BigQuery dataset ID (REQUIRED) - `table_id`: The BigQuery table ID (REQUIRED) - `field_id`: The ID of the BigQuery field - `info_type`: The infotype detected in the resource - `sensitivity_level`: HIGH|MEDIUM|LOW - `data_risk_level`: How much risk is associated with this data - `status_code`: An RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto - `profile_last_generated`: Date and time the profile was last generated * The operator must be `=` for project_id, dataset_id, and table_id. Other filters also support `!=`. The `profile_last_generated` filter also supports `<` and `>`. Examples: * project_id = 12345 AND status_code = 1 * project_id = 12345 AND sensitivity_level = HIGH * project_id = 12345 AND info_type = STREET_ADDRESS * profile_last_generated < \"2025-01-01T00:00:00.000Z\" The length of this field should be no more than 500 characters.", + "description": "Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * Supported fields: - `table_data_profile_name`: The name of the related table data profile - `project_id`: The Google Cloud project ID (REQUIRED) - `dataset_id`: The BigQuery dataset ID (REQUIRED) - `table_id`: The BigQuery table ID (REQUIRED) - `field_id`: The ID of the BigQuery field - `info_type`: The infotype detected in the resource - `sensitivity_level`: HIGH|MEDIUM|LOW - `data_risk_level`: How much risk is associated with this data - `status_code`: An RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto - `profile_last_generated`: Date and time the profile was last generated * The operator must be `=` for project_id, dataset_id, and table_id. Other filters also support `!=`. The `profile_last_generated` filter also supports `<` and `>`. The syntax is based on https://google.aip.dev/160. Examples: * project_id = 12345 AND status_code = 1 * project_id = 12345 AND sensitivity_level = HIGH * project_id = 12345 AND info_type = STREET_ADDRESS * profile_last_generated < \"2025-01-01T00:00:00.000Z\" The length of this field should be no more than 500 characters.", "location": "query", "type": "string" }, @@ -3338,7 +3338,7 @@ ], "parameters": { "filter": { - "description": "Optional. Supported field/value: `state` - MISSING|AVAILABLE|ERROR", + "description": "Optional. Supported field/value: `state` - MISSING|AVAILABLE|ERROR The syntax is based on https://google.aip.dev/160.", "location": "query", "type": "string" }, @@ -3407,7 +3407,7 @@ ], "parameters": { "filter": { - "description": "Optional. Supported field/value: - `state` - MISSING|AVAILABLE|ERROR", + "description": "Optional. Supported field/value: - `state` - MISSING|AVAILABLE|ERROR The syntax is based on https://google.aip.dev/160.", "location": "query", "type": "string" }, @@ -4009,7 +4009,7 @@ ], "parameters": { "filter": { - "description": "Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * Supported fields/values for inspect jobs: - `state` - PENDING|RUNNING|CANCELED|FINISHED|FAILED - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY - `trigger_name` - The name of the trigger that created the job. - 'end_time` - Corresponds to the time the job finished. - 'start_time` - Corresponds to the time the job finished. * Supported fields for risk analysis jobs: - `state` - RUNNING|CANCELED|FINISHED|FAILED - 'end_time` - Corresponds to the time the job finished. - 'start_time` - Corresponds to the time the job finished. * The operator must be `=` or `!=`. Examples: * inspected_storage = cloud_storage AND state = done * inspected_storage = cloud_storage OR inspected_storage = bigquery * inspected_storage = cloud_storage AND (state = done OR state = canceled) * end_time > \\\"2017-12-12T00:00:00+00:00\\\" The length of this field should be no more than 500 characters.", + "description": "Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * Supported fields/values for inspect jobs: - `state` - PENDING|RUNNING|CANCELED|FINISHED|FAILED - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY - `trigger_name` - The name of the trigger that created the job. - 'end_time` - Corresponds to the time the job finished. - 'start_time` - Corresponds to the time the job finished. * Supported fields for risk analysis jobs: - `state` - RUNNING|CANCELED|FINISHED|FAILED - 'end_time` - Corresponds to the time the job finished. - 'start_time` - Corresponds to the time the job finished. * The operator must be `=` or `!=`. The syntax is based on https://google.aip.dev/160. Examples: * inspected_storage = cloud_storage AND state = done * inspected_storage = cloud_storage OR inspected_storage = bigquery * inspected_storage = cloud_storage AND (state = done OR state = canceled) * end_time > \\\"2017-12-12T00:00:00+00:00\\\" The length of this field should be no more than 500 characters.", "location": "query", "type": "string" }, @@ -4129,7 +4129,7 @@ ], "parameters": { "filter": { - "description": "Optional. Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * Supported fields: - `project_id`: The Google Cloud project ID - `account_id`: The AWS account ID - `file_store_path`: The path like \"gs://bucket\" - `data_source_type`: The profile's data source type, like \"google/storage/bucket\" - `data_storage_location`: The location where the file store's data is stored, like \"us-central1\" - `sensitivity_level`: HIGH|MODERATE|LOW - `data_risk_level`: HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC|RESTRICTED - `status_code`: an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto - `profile_last_generated`: Date and time the profile was last generated * The operator must be `=` or `!=`. The `profile_last_generated` filter also supports `<` and `>`. Examples: * `project_id = 12345 AND status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH` * `project_id = 12345 AND resource_visibility = PUBLIC` * `file_store_path = \"gs://mybucket\"` * `profile_last_generated < \"2025-01-01T00:00:00.000Z\"` The length of this field should be no more than 500 characters.", + "description": "Optional. Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * Supported fields: - `project_id`: The Google Cloud project ID - `account_id`: The AWS account ID - `file_store_path`: The path like \"gs://bucket\" - `data_source_type`: The profile's data source type, like \"google/storage/bucket\" - `data_storage_location`: The location where the file store's data is stored, like \"us-central1\" - `sensitivity_level`: HIGH|MODERATE|LOW - `data_risk_level`: HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC|RESTRICTED - `status_code`: an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto - `profile_last_generated`: Date and time the profile was last generated * The operator must be `=` or `!=`. The `profile_last_generated` filter also supports `<` and `>`. The syntax is based on https://google.aip.dev/160. Examples: * `project_id = 12345 AND status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH` * `project_id = 12345 AND resource_visibility = PUBLIC` * `file_store_path = \"gs://mybucket\"` * `profile_last_generated < \"2025-01-01T00:00:00.000Z\"` The length of this field should be no more than 500 characters.", "location": "query", "type": "string" }, @@ -4545,7 +4545,7 @@ ], "parameters": { "filter": { - "description": "Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * Supported fields/values for inspect triggers: - `status` - HEALTHY|PAUSED|CANCELLED - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by quotation marks. Nanoseconds are ignored. - 'error_count' - Number of errors that have occurred while running. * The operator must be `=` or `!=` for status and inspected_storage. Examples: * inspected_storage = cloud_storage AND status = HEALTHY * inspected_storage = cloud_storage OR inspected_storage = bigquery * inspected_storage = cloud_storage AND (state = PAUSED OR state = HEALTHY) * last_run_time > \\\"2017-12-12T00:00:00+00:00\\\" The length of this field should be no more than 500 characters.", + "description": "Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * Supported fields/values for inspect triggers: - `status` - HEALTHY|PAUSED|CANCELLED - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by quotation marks. Nanoseconds are ignored. - 'error_count' - Number of errors that have occurred while running. * The operator must be `=` or `!=` for status and inspected_storage. The syntax is based on https://google.aip.dev/160. Examples: * inspected_storage = cloud_storage AND status = HEALTHY * inspected_storage = cloud_storage OR inspected_storage = bigquery * inspected_storage = cloud_storage AND (state = PAUSED OR state = HEALTHY) * last_run_time > \\\"2017-12-12T00:00:00+00:00\\\" The length of this field should be no more than 500 characters.", "location": "query", "type": "string" }, @@ -4668,7 +4668,7 @@ ], "parameters": { "filter": { - "description": "Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * Supported fields: - `project_id`: the Google Cloud project ID - `sensitivity_level`: HIGH|MODERATE|LOW - `data_risk_level`: HIGH|MODERATE|LOW - `status_code`: an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto - `profile_last_generated`: Date and time the profile was last generated * The operator must be `=` or `!=`. The `profile_last_generated` filter also supports `<` and `>`. Examples: * `project_id = 12345 AND status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH` * `profile_last_generated < \"2025-01-01T00:00:00.000Z\"` The length of this field should be no more than 500 characters.", + "description": "Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * Supported fields: - `project_id`: the Google Cloud project ID - `sensitivity_level`: HIGH|MODERATE|LOW - `data_risk_level`: HIGH|MODERATE|LOW - `status_code`: an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto - `profile_last_generated`: Date and time the profile was last generated * The operator must be `=` or `!=`. The `profile_last_generated` filter also supports `<` and `>`. The syntax is based on https://google.aip.dev/160. Examples: * `project_id = 12345 AND status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH` * `profile_last_generated < \"2025-01-01T00:00:00.000Z\"` The length of this field should be no more than 500 characters.", "location": "query", "type": "string" }, @@ -4924,7 +4924,7 @@ ], "parameters": { "filter": { - "description": "Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * Supported fields: - `project_id`: The Google Cloud project ID - `dataset_id`: The BigQuery dataset ID - `table_id`: The ID of the BigQuery table - `sensitivity_level`: HIGH|MODERATE|LOW - `data_risk_level`: HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC|RESTRICTED - `status_code`: an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto - `profile_last_generated`: Date and time the profile was last generated * The operator must be `=` or `!=`. The `profile_last_generated` filter also supports `<` and `>`. Examples: * `project_id = 12345 AND status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH` * `project_id = 12345 AND resource_visibility = PUBLIC` * `profile_last_generated < \"2025-01-01T00:00:00.000Z\"` The length of this field should be no more than 500 characters.", + "description": "Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field} {operator} {value}`. * Supported fields: - `project_id`: The Google Cloud project ID - `dataset_id`: The BigQuery dataset ID - `table_id`: The ID of the BigQuery table - `sensitivity_level`: HIGH|MODERATE|LOW - `data_risk_level`: HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC|RESTRICTED - `status_code`: an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto - `profile_last_generated`: Date and time the profile was last generated * The operator must be `=` or `!=`. The `profile_last_generated` filter also supports `<` and `>`. The syntax is based on https://google.aip.dev/160. Examples: * `project_id = 12345 AND status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH` * `project_id = 12345 AND resource_visibility = PUBLIC` * `profile_last_generated < \"2025-01-01T00:00:00.000Z\"` The length of this field should be no more than 500 characters.", "location": "query", "type": "string" }, @@ -5123,7 +5123,7 @@ } } }, - "revision": "20251004", + "revision": "20251012", "rootUrl": "https://dlp.googleapis.com/", "schemas": { "GooglePrivacyDlpV2Action": { diff --git a/discovery/docs-v1.json b/discovery/docs-v1.json index 8dda5876856..1eef13812e0 100644 --- a/discovery/docs-v1.json +++ b/discovery/docs-v1.json @@ -221,7 +221,7 @@ } } }, - "revision": "20251008", + "revision": "20251013", "rootUrl": "https://docs.googleapis.com/", "schemas": { "AutoText": { @@ -3787,6 +3787,10 @@ "description": "Properties of a tab.", "id": "TabProperties", "properties": { + "iconEmoji": { + "description": "Optional. The emoji icon displayed with the tab. A valid emoji icon is represented by a non-empty Unicode string. Any set of characters that don't represent a single emoji is invalid. If an emoji is invalid, a 400 bad request error is returned. If this value is unset or empty, the tab will display the default tab icon.", + "type": "string" + }, "index": { "description": "The zero-based index of the tab within the parent.", "format": "int32", diff --git a/discovery/documentai-v1.json b/discovery/documentai-v1.json index b6490db505f..606239ece74 100644 --- a/discovery/documentai-v1.json +++ b/discovery/documentai-v1.json @@ -1053,7 +1053,7 @@ } } }, - "revision": "20251007", + "revision": "20251013", "rootUrl": "https://documentai.googleapis.com/", "schemas": { "CloudAiDocumentaiLabHifiaToolsValidationValidatorInput": { @@ -2984,6 +2984,7 @@ "description": "Money value. See also: https://github.com/googleapis/googleapis/blob/master/google/type/money.proto" }, "signatureValue": { + "description": "A signature - a graphical representation of a person's name, often used to sign a document.", "type": "boolean" }, "text": { diff --git a/discovery/documentai-v1beta3.json b/discovery/documentai-v1beta3.json index 47ef2d1afd3..06898c8ab96 100644 --- a/discovery/documentai-v1beta3.json +++ b/discovery/documentai-v1beta3.json @@ -1295,7 +1295,7 @@ } } }, - "revision": "20251007", + "revision": "20251013", "rootUrl": "https://documentai.googleapis.com/", "schemas": { "CloudAiDocumentaiLabHifiaToolsValidationValidatorInput": { @@ -4006,6 +4006,7 @@ "description": "Money value. See also: https://github.com/googleapis/googleapis/blob/master/google/type/money.proto" }, "signatureValue": { + "description": "A signature - a graphical representation of a person's name, often used to sign a document.", "type": "boolean" }, "text": { diff --git a/discovery/drive-v3.json b/discovery/drive-v3.json index ea8e305c8fa..576d91b2ce4 100644 --- a/discovery/drive-v3.json +++ b/discovery/drive-v3.json @@ -1850,7 +1850,7 @@ "permissions": { "methods": { "create": { - "description": "Creates a permission for a file or shared drive. **Warning:** Concurrent permissions operations on the same file are not supported; only the last update is applied.", + "description": "Creates a permission for a file or shared drive. For more information, see [Share files, folders, and drives](https://developers.google.com/workspace/drive/api/guides/manage-sharing). **Warning:** Concurrent permissions operations on the same file aren't supported; only the last update is applied.", "flatPath": "files/{fileId}/permissions", "httpMethod": "POST", "id": "drive.permissions.create", @@ -1884,7 +1884,7 @@ }, "moveToNewOwnersRoot": { "default": "false", - "description": "This parameter will only take effect if the item is not in a shared drive and the request is attempting to transfer the ownership of the item. If set to `true`, the item will be moved to the new owner's My Drive root folder and all prior parents removed. If set to `false`, parents are not changed.", + "description": "This parameter only takes effect if the item isn't in a shared drive and the request is attempting to transfer the ownership of the item. If set to `true`, the item is moved to the new owner's My Drive root folder and all prior parents removed. If set to `false`, parents aren't changed.", "location": "query", "type": "boolean" }, @@ -1908,13 +1908,13 @@ }, "transferOwnership": { "default": "false", - "description": "Whether to transfer ownership to the specified user and downgrade the current owner to a writer. This parameter is required as an acknowledgement of the side effect.", + "description": "Whether to transfer ownership to the specified user and downgrade the current owner to a writer. This parameter is required as an acknowledgement of the side effect. For more information, see [Transfer file ownership](https://developers.google.com/workspace/drive/api/guides/transfer-file).", "location": "query", "type": "boolean" }, "useDomainAdminAccess": { "default": "false", - "description": "Issue the request as a domain administrator; if set to true, then the requester will be granted access if the file ID parameter refers to a shared drive and the requester is an administrator of the domain to which the shared drive belongs.", + "description": "Issue the request as a domain administrator. If set to `true`, and if the following additional conditions are met, the requester is granted access: 1. The file ID parameter refers to a shared drive. 2. The requester is an administrator of the domain to which the shared drive belongs. For more information, see [Manage shared drives as domain administrators](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives#manage-administrators).", "location": "query", "type": "boolean" } @@ -1932,7 +1932,7 @@ ] }, "delete": { - "description": "Deletes a permission. **Warning:** Concurrent permissions operations on the same file are not supported; only the last update is applied.", + "description": "Deletes a permission. For more information, see [Share files, folders, and drives](https://developers.google.com/workspace/drive/api/guides/manage-sharing). **Warning:** Concurrent permissions operations on the same file aren't supported; only the last update is applied.", "flatPath": "files/{fileId}/permissions/{permissionId}", "httpMethod": "DELETE", "id": "drive.permissions.delete", @@ -1974,7 +1974,7 @@ }, "useDomainAdminAccess": { "default": "false", - "description": "Issue the request as a domain administrator; if set to true, then the requester will be granted access if the file ID parameter refers to a shared drive and the requester is an administrator of the domain to which the shared drive belongs.", + "description": "Issue the request as a domain administrator. If set to `true`, and if the following additional conditions are met, the requester is granted access: 1. The file ID parameter refers to a shared drive. 2. The requester is an administrator of the domain to which the shared drive belongs. For more information, see [Manage shared drives as domain administrators](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives#manage-administrators).", "location": "query", "type": "boolean" } @@ -1986,7 +1986,7 @@ ] }, "get": { - "description": "Gets a permission by ID.", + "description": "Gets a permission by ID. For more information, see [Share files, folders, and drives](https://developers.google.com/workspace/drive/api/guides/manage-sharing).", "flatPath": "files/{fileId}/permissions/{permissionId}", "httpMethod": "GET", "id": "drive.permissions.get", @@ -2022,7 +2022,7 @@ }, "useDomainAdminAccess": { "default": "false", - "description": "Issue the request as a domain administrator; if set to true, then the requester will be granted access if the file ID parameter refers to a shared drive and the requester is an administrator of the domain to which the shared drive belongs.", + "description": "Issue the request as a domain administrator. If set to `true`, and if the following additional conditions are met, the requester is granted access: 1. The file ID parameter refers to a shared drive. 2. The requester is an administrator of the domain to which the shared drive belongs. For more information, see [Manage shared drives as domain administrators](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives#manage-administrators).", "location": "query", "type": "boolean" } @@ -2042,7 +2042,7 @@ ] }, "list": { - "description": "Lists a file's or shared drive's permissions.", + "description": "Lists a file's or shared drive's permissions. For more information, see [Share files, folders, and drives](https://developers.google.com/workspace/drive/api/guides/manage-sharing).", "flatPath": "files/{fileId}/permissions", "httpMethod": "GET", "id": "drive.permissions.list", @@ -2057,7 +2057,7 @@ "type": "string" }, "includePermissionsForView": { - "description": "Specifies which additional view's permissions to include in the response. Only 'published' is supported.", + "description": "Specifies which additional view's permissions to include in the response. Only `published` is supported.", "location": "query", "type": "string" }, @@ -2070,7 +2070,7 @@ "type": "integer" }, "pageToken": { - "description": "The token for continuing a previous list request on the next page. This should be set to the value of 'nextPageToken' from the previous response.", + "description": "The token for continuing a previous list request on the next page. This should be set to the value of `nextPageToken` from the previous response.", "location": "query", "type": "string" }, @@ -2089,7 +2089,7 @@ }, "useDomainAdminAccess": { "default": "false", - "description": "Issue the request as a domain administrator; if set to true, then the requester will be granted access if the file ID parameter refers to a shared drive and the requester is an administrator of the domain to which the shared drive belongs.", + "description": "Issue the request as a domain administrator. If set to `true`, and if the following additional conditions are met, the requester is granted access: 1. The file ID parameter refers to a shared drive. 2. The requester is an administrator of the domain to which the shared drive belongs. For more information, see [Manage shared drives as domain administrators](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives#manage-administrators).", "location": "query", "type": "boolean" } @@ -2109,7 +2109,7 @@ ] }, "update": { - "description": "Updates a permission with patch semantics. **Warning:** Concurrent permissions operations on the same file are not supported; only the last update is applied.", + "description": "Updates a permission with patch semantics. For more information, see [Share files, folders, and drives](https://developers.google.com/workspace/drive/api/guides/manage-sharing). **Warning:** Concurrent permissions operations on the same file aren't supported; only the last update is applied.", "flatPath": "files/{fileId}/permissions/{permissionId}", "httpMethod": "PATCH", "id": "drive.permissions.update", @@ -2157,13 +2157,13 @@ }, "transferOwnership": { "default": "false", - "description": "Whether to transfer ownership to the specified user and downgrade the current owner to a writer. This parameter is required as an acknowledgement of the side effect.", + "description": "Whether to transfer ownership to the specified user and downgrade the current owner to a writer. This parameter is required as an acknowledgement of the side effect. For more information, see [Transfer file ownership](https://developers.google.com//workspace/drive/api/guides/transfer-file).", "location": "query", "type": "boolean" }, "useDomainAdminAccess": { "default": "false", - "description": "Issue the request as a domain administrator; if set to true, then the requester will be granted access if the file ID parameter refers to a shared drive and the requester is an administrator of the domain to which the shared drive belongs.", + "description": "Issue the request as a domain administrator. If set to `true`, and if the following additional conditions are met, the requester is granted access: 1. The file ID parameter refers to a shared drive. 2. The requester is an administrator of the domain to which the shared drive belongs. For more information, see [Manage shared drives as domain administrators](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives#manage-administrators).", "location": "query", "type": "boolean" } @@ -2720,7 +2720,7 @@ } } }, - "revision": "20250910", + "revision": "20251013", "rootUrl": "https://www.googleapis.com/", "schemas": { "About": { @@ -4606,7 +4606,7 @@ "type": "object" }, "Permission": { - "description": "A permission for a file. A permission grants a user, group, domain, or the world access to a file or a folder hierarchy. By default, permissions requests only return a subset of fields. Permission kind, ID, type, and role are always returned. To retrieve specific fields, see https://developers.google.com/workspace/drive/api/guides/fields-parameter. Some resource methods (such as `permissions.update`) require a `permissionId`. Use the `permissions.list` method to retrieve the ID for a file, folder, or shared drive.", + "description": "A permission for a file. A permission grants a user, group, domain, or the world access to a file or a folder hierarchy. For more information, see [Share files, folders, and drives](https://developers.google.com/workspace/drive/api/guides/manage-sharing). By default, permission requests only return a subset of fields. Permission `kind`, `ID`, `type`, and `role` are always returned. To retrieve specific fields, see [Return specific fields](https://developers.google.com/workspace/drive/api/guides/fields-parameter). Some resource methods (such as `permissions.update`) require a `permissionId`. Use the `permissions.list` method to retrieve the ID for a file, folder, or shared drive.", "id": "Permission", "properties": { "allowFileDiscovery": { @@ -4614,11 +4614,11 @@ "type": "boolean" }, "deleted": { - "description": "Output only. Whether the account associated with this permission has been deleted. This field only pertains to user and group permissions.", + "description": "Output only. Whether the account associated with this permission has been deleted. This field only pertains to permissions of type `user` or `group`.", "type": "boolean" }, "displayName": { - "description": "Output only. The \"pretty\" name of the value of the permission. The following is a list of examples for each type of permission: * `user` - User's full name, as defined for their Google account, such as \"Joe Smith.\" * `group` - Name of the Google Group, such as \"The Company Administrators.\" * `domain` - String domain name, such as \"thecompany.com.\" * `anyone` - No `displayName` is present.", + "description": "Output only. The \"pretty\" name of the value of the permission. The following is a list of examples for each type of permission: * `user` - User's full name, as defined for their Google Account, such as \"Dana A.\" * `group` - Name of the Google Group, such as \"The Company Administrators.\" * `domain` - String domain name, such as \"cymbalgroup.com.\" * `anyone` - No `displayName` is present.", "type": "string" }, "domain": { @@ -4635,11 +4635,11 @@ "type": "string" }, "id": { - "description": "Output only. The ID of this permission. This is a unique identifier for the grantee, and is published in User resources as `permissionId`. IDs should be treated as opaque values.", + "description": "Output only. The ID of this permission. This is a unique identifier for the grantee, and is published in the [User resource](https://developers.google.com/workspace/drive/api/reference/rest/v3/User) as `permissionId`. IDs should be treated as opaque values.", "type": "string" }, "inheritedPermissionsDisabled": { - "description": "When true, only organizers, owners, and users with permissions added directly on the item can access it.", + "description": "When `true`, only organizers, owners, and users with permissions added directly on the item can access it.", "type": "boolean" }, "kind": { @@ -4648,11 +4648,11 @@ "type": "string" }, "pendingOwner": { - "description": "Whether the account associated with this permission is a pending owner. Only populated for `user` type permissions for files that are not in a shared drive.", + "description": "Whether the account associated with this permission is a pending owner. Only populated for permissions of type `user` for files that aren't in a shared drive.", "type": "boolean" }, "permissionDetails": { - "description": "Output only. Details of whether the permissions on this item are inherited or directly on this item.", + "description": "Output only. Details of whether the permissions on this item are inherited or are directly on this item.", "items": { "properties": { "inherited": { @@ -4664,11 +4664,11 @@ "type": "string" }, "permissionType": { - "description": "Output only. The permission type for this user. While new values may be added in future, the following are currently possible: * `file` * `member`", + "description": "Output only. The permission type for this user. Supported values include: * `file` * `member`", "type": "string" }, "role": { - "description": "Output only. The primary role for this user. While new values may be added in the future, the following are currently possible: * `owner` * `organizer` * `fileOrganizer` * `writer` * `commenter` * `reader`", + "description": "Output only. The primary role for this user. Supported values include: * `owner` * `organizer` * `fileOrganizer` * `writer` * `commenter` * `reader` For more information, see [Roles and permissions](https://developers.google.com/workspace/drive/api/guides/ref-roles).", "type": "string" } }, @@ -4687,7 +4687,7 @@ "drive.permissions.create" ] }, - "description": "The role granted by this permission. While new values may be supported in the future, the following are currently allowed: * `owner` * `organizer` * `fileOrganizer` * `writer` * `commenter` * `reader`", + "description": "The role granted by this permission. Supported values include: * `owner` * `organizer` * `fileOrganizer` * `writer` * `commenter` * `reader` For more information, see [Roles and permissions](https://developers.google.com/workspace/drive/api/guides/ref-roles).", "type": "string" }, "teamDrivePermissionDetails": { @@ -4727,11 +4727,11 @@ "drive.permissions.create" ] }, - "description": "The type of the grantee. Valid values are: * `user` * `group` * `domain` * `anyone` When creating a permission, if `type` is `user` or `group`, you must provide an `emailAddress` for the user or group. When `type` is `domain`, you must provide a `domain`. There isn't extra information required for an `anyone` type.", + "description": "The type of the grantee. Supported values include: * `user` * `group` * `domain` * `anyone` When creating a permission, if `type` is `user` or `group`, you must provide an `emailAddress` for the user or group. If `type` is `domain`, you must provide a `domain`. If `type` is `anyone`, no extra information is required.", "type": "string" }, "view": { - "description": "Indicates the view for this permission. Only populated for permissions that belong to a view. published and metadata are the only supported values. - published: The permission's role is published_reader. - metadata: The item is only visible to the metadata view because the item has limited access and the scope has at least read access to the parent. Note: The metadata view is currently only supported on folders. ", + "description": "Indicates the view for this permission. Only populated for permissions that belong to a view. The only supported values are `published` and `metadata`: * `published`: The permission's role is `publishedReader`. * `metadata`: The item is only visible to the `metadata` view because the item has limited access and the scope has at least read access to the parent. The `metadata` view is only supported on folders. For more information, see [Views](https://developers.google.com/workspace/drive/api/guides/ref-roles#views).", "type": "string" } }, @@ -4751,7 +4751,7 @@ "type": "string" }, "permissions": { - "description": "The list of permissions. If nextPageToken is populated, then this list may be incomplete and an additional page of results should be fetched.", + "description": "The list of permissions. If `nextPageToken` is populated, then this list may be incomplete and an additional page of results should be fetched.", "items": { "$ref": "Permission" }, diff --git a/discovery/firebaseappdistribution-v1alpha.json b/discovery/firebaseappdistribution-v1alpha.json index 8565dcd6fca..33115101860 100644 --- a/discovery/firebaseappdistribution-v1alpha.json +++ b/discovery/firebaseappdistribution-v1alpha.json @@ -601,7 +601,7 @@ ], "parameters": { "parent": { - "description": "Required. The parent resource where these test cases will be deleted. Format: `projects/{project_number}/apps/{app_id}`", + "description": "Required. The parent resource of the test cases being deleted. Format: `projects/{project_number}/apps/{app_id}`", "location": "path", "pattern": "^projects/[^/]+/apps/[^/]+$", "required": true, @@ -619,6 +619,34 @@ "https://www.googleapis.com/auth/cloud-platform" ] }, + "batchUpdate": { + "description": "Updates multiple test cases.", + "flatPath": "v1alpha/projects/{projectsId}/apps/{appsId}/testCases:batchUpdate", + "httpMethod": "POST", + "id": "firebaseappdistribution.projects.apps.testCases.batchUpdate", + "parameterOrder": [ + "parent" + ], + "parameters": { + "parent": { + "description": "Required. The parent resource of the test cases being updated. Format: `projects/{project_number}/apps/{app_id}`", + "location": "path", + "pattern": "^projects/[^/]+/apps/[^/]+$", + "required": true, + "type": "string" + } + }, + "path": "v1alpha/{+parent}/testCases:batchUpdate", + "request": { + "$ref": "GoogleFirebaseAppdistroV1alphaBatchUpdateTestCasesRequest" + }, + "response": { + "$ref": "GoogleFirebaseAppdistroV1alphaBatchUpdateTestCasesResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] + }, "create": { "description": "Create a new test case.", "flatPath": "v1alpha/projects/{projectsId}/apps/{appsId}/testCases", @@ -812,7 +840,7 @@ } } }, - "revision": "20251012", + "revision": "20251015", "rootUrl": "https://firebaseappdistribution.googleapis.com/", "schemas": { "AndroidxCrawlerOutputPoint": { @@ -1163,6 +1191,34 @@ }, "type": "object" }, + "GoogleFirebaseAppdistroV1alphaBatchUpdateTestCasesRequest": { + "description": "The request message for `BatchUpdateTestCase`.", + "id": "GoogleFirebaseAppdistroV1alphaBatchUpdateTestCasesRequest", + "properties": { + "requests": { + "description": "Required. The update requests. A maximum number of 1000 test cases can be updated in one batch", + "items": { + "$ref": "GoogleFirebaseAppdistroV1alphaUpdateTestCaseRequest" + }, + "type": "array" + } + }, + "type": "object" + }, + "GoogleFirebaseAppdistroV1alphaBatchUpdateTestCasesResponse": { + "description": "The response message for `BatchUpdateTestCase`.", + "id": "GoogleFirebaseAppdistroV1alphaBatchUpdateTestCasesResponse", + "properties": { + "testCases": { + "description": "The updated test cases.", + "items": { + "$ref": "GoogleFirebaseAppdistroV1alphaTestCase" + }, + "type": "array" + } + }, + "type": "object" + }, "GoogleFirebaseAppdistroV1alphaCancelReleaseTestResponse": { "description": "The (empty) response message for `CancelReleaseTest`.", "id": "GoogleFirebaseAppdistroV1alphaCancelReleaseTestResponse", @@ -2130,6 +2186,21 @@ }, "type": "object" }, + "GoogleFirebaseAppdistroV1alphaUpdateTestCaseRequest": { + "description": "The request message for `UpdateTestCase`.", + "id": "GoogleFirebaseAppdistroV1alphaUpdateTestCaseRequest", + "properties": { + "allowMissing": { + "description": "Optional. If set to true, and the test case is not found, a new test case will be created.", + "type": "boolean" + }, + "testCase": { + "$ref": "GoogleFirebaseAppdistroV1alphaTestCase", + "description": "Required. The test case to update. The test case's `name` field is used to identify the test case to update. Format: `projects/{project_number}/apps/{app_id}/testCases/{test_case_id}`" + } + }, + "type": "object" + }, "GoogleProtobufEmpty": { "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", "id": "GoogleProtobufEmpty", diff --git a/discovery/firebaseml-v2beta.json b/discovery/firebaseml-v2beta.json index 524295eec86..e950dc8e373 100644 --- a/discovery/firebaseml-v2beta.json +++ b/discovery/firebaseml-v2beta.json @@ -206,7 +206,7 @@ } } }, - "revision": "20251005", + "revision": "20251013", "rootUrl": "https://firebaseml.googleapis.com/", "schemas": { "Date": { @@ -1729,6 +1729,42 @@ "aspectRatio": { "description": "Optional. The desired aspect ratio for the generated images. The following aspect ratios are supported: \"1:1\" \"2:3\", \"3:2\" \"3:4\", \"4:3\" \"4:5\", \"5:4\" \"9:16\", \"16:9\" \"21:9\"", "type": "string" + }, + "imageOutputOptions": { + "$ref": "GoogleCloudAiplatformV1beta1ImageConfigImageOutputOptions", + "description": "Optional. The image output format for generated images." + }, + "personGeneration": { + "description": "Optional. Controls whether the model can generate people.", + "enum": [ + "PERSON_GENERATION_UNSPECIFIED", + "ALLOW_ALL", + "ALLOW_ADULT", + "ALLOW_NONE" + ], + "enumDescriptions": [ + "Generation images of people unspecified.", + "Generate images that include adults and children.", + "Generate images of adults, but not children.", + "Block generation of images of people." + ], + "type": "string" + } + }, + "type": "object" + }, + "GoogleCloudAiplatformV1beta1ImageConfigImageOutputOptions": { + "description": "The image output format for generated images.", + "id": "GoogleCloudAiplatformV1beta1ImageConfigImageOutputOptions", + "properties": { + "compressionQuality": { + "description": "Optional. The compression quality of the output image.", + "format": "int32", + "type": "integer" + }, + "mimeType": { + "description": "Optional. The image format that the output should be saved as.", + "type": "string" } }, "type": "object" diff --git a/discovery/firestore-v1.json b/discovery/firestore-v1.json index 0d864c08fbd..afa2a8d17ac 100644 --- a/discovery/firestore-v1.json +++ b/discovery/firestore-v1.json @@ -468,6 +468,16 @@ "description": "Regional Endpoint", "endpointUrl": "https://firestore.us.rep.googleapis.com/", "location": "us" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://batch-firestore.eu.rep.googleapis.com/", + "location": "eu" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://batch-firestore.us.rep.googleapis.com/", + "location": "us" } ], "fullyEncodeReservedExpansion": true, @@ -2406,7 +2416,7 @@ } } }, - "revision": "20251001", + "revision": "20251014", "rootUrl": "https://firestore.googleapis.com/", "schemas": { "Aggregation": { diff --git a/discovery/firestore-v1beta1.json b/discovery/firestore-v1beta1.json index 4a6cbce3d7d..5993a0da03a 100644 --- a/discovery/firestore-v1beta1.json +++ b/discovery/firestore-v1beta1.json @@ -468,6 +468,16 @@ "description": "Regional Endpoint", "endpointUrl": "https://firestore.us.rep.googleapis.com/", "location": "us" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://batch-firestore.eu.rep.googleapis.com/", + "location": "eu" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://batch-firestore.us.rep.googleapis.com/", + "location": "us" } ], "fullyEncodeReservedExpansion": true, @@ -1402,7 +1412,7 @@ } } }, - "revision": "20251001", + "revision": "20251014", "rootUrl": "https://firestore.googleapis.com/", "schemas": { "Aggregation": { diff --git a/discovery/firestore-v1beta2.json b/discovery/firestore-v1beta2.json index 778bbfcd022..872f31efbf9 100644 --- a/discovery/firestore-v1beta2.json +++ b/discovery/firestore-v1beta2.json @@ -468,6 +468,16 @@ "description": "Regional Endpoint", "endpointUrl": "https://firestore.us.rep.googleapis.com/", "location": "us" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://batch-firestore.eu.rep.googleapis.com/", + "location": "eu" + }, + { + "description": "Regional Endpoint", + "endpointUrl": "https://batch-firestore.us.rep.googleapis.com/", + "location": "us" } ], "fullyEncodeReservedExpansion": true, @@ -867,7 +877,7 @@ } } }, - "revision": "20251001", + "revision": "20251014", "rootUrl": "https://firestore.googleapis.com/", "schemas": { "Empty": { diff --git a/discovery/iam-v1.json b/discovery/iam-v1.json index 17a996f4e01..18bcefbea11 100644 --- a/discovery/iam-v1.json +++ b/discovery/iam-v1.json @@ -4160,7 +4160,7 @@ } } }, - "revision": "20251003", + "revision": "20251010", "rootUrl": "https://iam.googleapis.com/", "schemas": { "AccessRestrictions": { @@ -6352,6 +6352,18 @@ "$ref": "GoogleIamAdminV1WorkforcePoolProviderSaml", "description": "A SAML identity provider configuration." }, + "scimUsage": { + "description": "Optional. Agentspace only. Specifies whether the workforce identity pool provider uses SCIM-managed groups instead of the `google.groups` attribute mapping for authorization checks. The `scim_usage` and `extended_attributes_oauth2_client` fields are mutually exclusive. A request that enables both fields on the same workforce identity pool provider will produce an error.", + "enum": [ + "SCIM_USAGE_UNSPECIFIED", + "ENABLED_FOR_GROUPS" + ], + "enumDescriptions": [ + "Agentspace only. Do not use SCIM data.", + "Agentspace only. SCIM sync is enabled and SCIM-managed groups are used for authorization checks." + ], + "type": "string" + }, "state": { "description": "Output only. The state of the provider.", "enum": [ @@ -6410,7 +6422,7 @@ "ENCRYPTION" ], "enumDescriptions": [ - "KeyUse unspecified.", + "KeyUse unspecified. Do not use. The purpose of the key must be specified.", "The key is used for encryption." ], "type": "string" diff --git a/discovery/iap-v1.json b/discovery/iap-v1.json index 090d93605be..99dcb7834ff 100644 --- a/discovery/iap-v1.json +++ b/discovery/iap-v1.json @@ -682,7 +682,7 @@ } } }, - "revision": "20250524", + "revision": "20251013", "rootUrl": "https://iap.googleapis.com/", "schemas": { "AccessDeniedPageSettings": { @@ -1254,7 +1254,7 @@ "type": "object" }, "locations": { - "description": "The locations of the resource. This field is used to determine whether the request is compliant with Trust Boundaries. Usage: - If unset or empty, the location of authorization is used as the target location. - For global resources: use a single value of \"global\". - For regional/multi-regional resources: use name of the GCP region(s) where the resource exists (e.g., [\"us-east1\", \"us-west1\"]). For multi-regional resources specify the name of each GCP region in the resource's multi-region. NOTE: Only GCP cloud region names are supported - go/cloud-region-names. ", + "description": "The locations of the resource. This field is used to determine whether the request is compliant with Trust Boundaries. Usage: - Must not be empty for services in-scope for Trust Boundaries. Once Trust Boundaries is GA, empty values will cause the request to be rejected if customers enforce Trust Boundaries on the parent CRM nodes. - For global resources: use a single value of \"global\". - For regional/multi-regional resources: use name of the GCP region(s) where the resource exists (e.g., [\"us-east1\", \"us-west1\"]). For multi-regional resources specify the name of each GCP region in the resource's multi-region. NOTE: Only GCP cloud region names are supported - go/cloud-region-names. ", "items": { "type": "string" }, diff --git a/discovery/index.json b/discovery/index.json index 7350be0df55..ba04b140b83 100644 --- a/discovery/index.json +++ b/discovery/index.json @@ -971,10 +971,25 @@ "id": "bigquerydatapolicy:v1", "kind": "discovery#directoryItem", "name": "bigquerydatapolicy", - "preferred": true, + "preferred": false, "title": "BigQuery Data Policy API", "version": "v1" }, + { + "description": "Allows users to manage BigQuery data policies.", + "discoveryRestUrl": "https://bigquerydatapolicy.googleapis.com/$discovery/rest?version=v2", + "documentationLink": "https://cloud.google.com/bigquery/docs/column-data-masking", + "icons": { + "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", + "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" + }, + "id": "bigquerydatapolicy:v2", + "kind": "discovery#directoryItem", + "name": "bigquerydatapolicy", + "preferred": true, + "title": "BigQuery Data Policy API", + "version": "v2" + }, { "description": "Schedule queries or transfer external data from SaaS applications to Google BigQuery on a regular basis.", "discoveryRestUrl": "https://bigquerydatatransfer.googleapis.com/$discovery/rest?version=v1", diff --git a/discovery/managedkafka-v1.json b/discovery/managedkafka-v1.json index e5762bcc79b..473043ddbfb 100644 --- a/discovery/managedkafka-v1.json +++ b/discovery/managedkafka-v1.json @@ -1425,6 +1425,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1/{+name}/operations", @@ -2934,7 +2939,7 @@ } } }, - "revision": "20250911", + "revision": "20251009", "rootUrl": "https://managedkafka.googleapis.com/", "schemas": { "AccessConfig": { @@ -3696,6 +3701,13 @@ "$ref": "Operation" }, "type": "array" + }, + "unreachable": { + "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.", + "items": { + "type": "string" + }, + "type": "array" } }, "type": "object" @@ -4191,7 +4203,7 @@ "type": "object" }, "TaskRetryPolicy": { - "description": "Task Retry Policy is implemented on a best-effort basis. Retry delay will be exponential based on provided minimum and maximum backoffs. https://en.wikipedia.org/wiki/Exponential_backoff. Note that the delay between consecutive task restarts may not always precisely match the configured settings. This can happen when the ConnectCluster is in rebalancing state or if the ConnectCluster is unresponsive etc. The default values for minimum and maximum backoffs are 60 seconds and 30 minutes respectively.", + "description": "Task Retry Policy is implemented on a best-effort basis. The default policy retries tasks with a minimum_backoff of 60 seconds, and a maximum_backoff of 12 hours. You can disable the policy by setting the task_retry_disabled field to true. Retry delay will be exponential based on provided minimum and maximum backoffs. https://en.wikipedia.org/wiki/Exponential_backoff. Note that the delay between consecutive task restarts may not always precisely match the configured settings. This can happen when the ConnectCluster is in rebalancing state or if the ConnectCluster is unresponsive etc. The default values for minimum and maximum backoffs are 60 seconds and 12 hours respectively.", "id": "TaskRetryPolicy", "properties": { "maximumBackoff": { @@ -4203,6 +4215,10 @@ "description": "Optional. The minimum amount of time to wait before retrying a failed task. This sets a lower bound for the backoff delay.", "format": "google-duration", "type": "string" + }, + "taskRetryDisabled": { + "description": "Optional. If true, task retry is disabled.", + "type": "boolean" } }, "type": "object" diff --git a/discovery/networkconnectivity-v1.json b/discovery/networkconnectivity-v1.json index fd85e95bf5b..d6bd29be1e9 100644 --- a/discovery/networkconnectivity-v1.json +++ b/discovery/networkconnectivity-v1.json @@ -2290,81 +2290,6 @@ } } }, - "remoteTransportProfiles": { - "methods": { - "get": { - "description": "Gets details of a single RemoteTransportProfile.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/remoteTransportProfiles/{remoteTransportProfilesId}", - "httpMethod": "GET", - "id": "networkconnectivity.projects.locations.remoteTransportProfiles.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. Name of the resource.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/remoteTransportProfiles/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+name}", - "response": { - "$ref": "RemoteTransportProfile" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists RemoteTransportProfiles in a given project and location.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/remoteTransportProfiles", - "httpMethod": "GET", - "id": "networkconnectivity.projects.locations.remoteTransportProfiles.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "filter": { - "description": "Optional. Filtering results.", - "location": "query", - "type": "string" - }, - "orderBy": { - "description": "Optional. Hint for how to order the results.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Optional. A token identifying a page of results the server should return.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. Parent value for ListRemoteTransportProfilesRequest.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+parent}/remoteTransportProfiles", - "response": { - "$ref": "ListRemoteTransportProfilesResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } - }, "serviceClasses": { "methods": { "delete": { @@ -2889,6 +2814,7 @@ "autoSubnetworkConfig.allocRangeSpace": { "description": "Optional. The space where we search for a free range to create a subnetwork. It can be narrow down or pick a different space. This is in standard CIDR format. If not specified, “10.0.0.0/8” is used. Only eligible for IPV4_ONLY and IPV4_IPV6 subnetwork.", "location": "query", + "repeated": true, "type": "string" }, "autoSubnetworkConfig.ipStack": { @@ -3608,195 +3534,13 @@ ] } } - }, - "transports": { - "methods": { - "create": { - "description": "Creates a new Transport in a given project and location.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/transports", - "httpMethod": "POST", - "id": "networkconnectivity.projects.locations.transports.create", - "parameterOrder": [ - "parent" - ], - "parameters": { - "parent": { - "description": "Required. Value for parent.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - }, - "requestId": { - "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", - "location": "query", - "type": "string" - }, - "transportId": { - "description": "Required. Id of the requesting object", - "location": "query", - "type": "string" - } - }, - "path": "v1/{+parent}/transports", - "request": { - "$ref": "Transport" - }, - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "delete": { - "description": "Deletes a single Transport.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/transports/{transportsId}", - "httpMethod": "DELETE", - "id": "networkconnectivity.projects.locations.transports.delete", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. Name of the resource.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/transports/[^/]+$", - "required": true, - "type": "string" - }, - "requestId": { - "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", - "location": "query", - "type": "string" - } - }, - "path": "v1/{+name}", - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "get": { - "description": "Gets details of a single Transport.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/transports/{transportsId}", - "httpMethod": "GET", - "id": "networkconnectivity.projects.locations.transports.get", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Required. Name of the resource.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/transports/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+name}", - "response": { - "$ref": "Transport" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "list": { - "description": "Lists Transports in a given project and location.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/transports", - "httpMethod": "GET", - "id": "networkconnectivity.projects.locations.transports.list", - "parameterOrder": [ - "parent" - ], - "parameters": { - "filter": { - "description": "Optional. Filtering results.", - "location": "query", - "type": "string" - }, - "orderBy": { - "description": "Optional. Hint for how to order the results.", - "location": "query", - "type": "string" - }, - "pageSize": { - "description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", - "format": "int32", - "location": "query", - "type": "integer" - }, - "pageToken": { - "description": "Optional. A token identifying a page of results the server should return.", - "location": "query", - "type": "string" - }, - "parent": { - "description": "Required. Parent value for ListTransportsRequest.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+$", - "required": true, - "type": "string" - } - }, - "path": "v1/{+parent}/transports", - "response": { - "$ref": "ListTransportsResponse" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - }, - "patch": { - "description": "Updates the parameters of a single Transport.", - "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/transports/{transportsId}", - "httpMethod": "PATCH", - "id": "networkconnectivity.projects.locations.transports.patch", - "parameterOrder": [ - "name" - ], - "parameters": { - "name": { - "description": "Identifier. Name of the resource, see google.aip.dev/122 for resource naming.", - "location": "path", - "pattern": "^projects/[^/]+/locations/[^/]+/transports/[^/]+$", - "required": true, - "type": "string" - }, - "requestId": { - "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).", - "location": "query", - "type": "string" - }, - "updateMask": { - "description": "Optional. Field mask is used to specify the fields to be overwritten in the Transport resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields present in the request will be overwritten.", - "format": "google-fieldmask", - "location": "query", - "type": "string" - } - }, - "path": "v1/{+name}", - "request": { - "$ref": "Transport" - }, - "response": { - "$ref": "GoogleLongrunningOperation" - }, - "scopes": [ - "https://www.googleapis.com/auth/cloud-platform" - ] - } - } } } } } } }, - "revision": "20250925", + "revision": "20251009", "rootUrl": "https://networkconnectivity.googleapis.com/", "schemas": { "AcceptHubSpokeRequest": { @@ -3963,6 +3707,26 @@ }, "type": "object" }, + "AutomatedDnsCreationSpec": { + "description": "The specification for automatically creating a DNS record.", + "id": "AutomatedDnsCreationSpec", + "properties": { + "dnsSuffix": { + "description": "Required. The DNS suffix to use for the DNS record. Must end with a dot. This should be a valid DNS domain name as per RFC 1035. Each label (between dots) can contain letters, digits, and hyphens, and must not start or end with a hyphen. Example: \"my-service.example.com.\", \"internal.\"", + "type": "string" + }, + "hostname": { + "description": "Required. The hostname (the first label of the FQDN) to use for the DNS record. This should be a valid DNS label as per RFC 1035. Generally, this means the hostname can contain letters, digits, and hyphens, and must not start or end with a hyphen. Example: \"my-instance\", \"db-1\"", + "type": "string" + }, + "ttl": { + "description": "Optional. The Time To Live for the DNS record, in seconds. If not provided, a default of 30 seconds will be used.", + "format": "google-duration", + "type": "string" + } + }, + "type": "object" + }, "Binding": { "description": "Associates `members`, or principals, with a `role`.", "id": "Binding", @@ -4136,6 +3900,11 @@ "description": "PSC connection details on consumer side.", "id": "ConsumerPscConnection", "properties": { + "dnsAutomationStatus": { + "$ref": "DnsAutomationStatus", + "description": "Output only. The status of DNS automation for this PSC connection.", + "readOnly": true + }, "error": { "$ref": "GoogleRpcStatus", "deprecated": true, @@ -4343,6 +4112,44 @@ }, "type": "object" }, + "DnsAutomationStatus": { + "description": "The status of DNS automation for a PSC connection.", + "id": "DnsAutomationStatus", + "properties": { + "error": { + "$ref": "GoogleRpcStatus", + "description": "Output only. The error details if the state is CREATE_FAILED or DELETE_FAILED.", + "readOnly": true + }, + "fqdn": { + "description": "Output only. The fully qualified domain name of the DNS record.", + "readOnly": true, + "type": "string" + }, + "state": { + "description": "Output only. The current state of DNS automation.", + "enum": [ + "STATE_UNSPECIFIED", + "PENDING_CREATE", + "ACTIVE", + "PENDING_DELETE", + "CREATE_FAILED", + "DELETE_FAILED" + ], + "enumDescriptions": [ + "Default value. This value is unused.", + "DNS record creation is pending.", + "DNS record is active.", + "DNS record deletion is pending.", + "DNS record creation failed.", + "DNS record deletion failed." + ], + "readOnly": true, + "type": "string" + } + }, + "type": "object" + }, "Empty": { "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }", "id": "Empty", @@ -5304,31 +5111,6 @@ }, "type": "object" }, - "ListRemoteTransportProfilesResponse": { - "description": "Message for response to listing RemoteTransportProfiles", - "id": "ListRemoteTransportProfilesResponse", - "properties": { - "nextPageToken": { - "description": "A token identifying a page of results the server should return.", - "type": "string" - }, - "remoteTransportProfiles": { - "description": "The list of RemoteTransportProfiles.", - "items": { - "$ref": "RemoteTransportProfile" - }, - "type": "array" - }, - "unreachable": { - "description": "Unordered list. Locations that could not be reached.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, "ListRouteTablesResponse": { "description": "Response for HubService.ListRouteTables method.", "id": "ListRouteTablesResponse", @@ -5504,31 +5286,6 @@ }, "type": "object" }, - "ListTransportsResponse": { - "description": "Message for response to listing Transports.", - "id": "ListTransportsResponse", - "properties": { - "nextPageToken": { - "description": "A token identifying a page of results the server should return.", - "type": "string" - }, - "transports": { - "description": "The list of Transport.", - "items": { - "$ref": "Transport" - }, - "type": "array" - }, - "unreachable": { - "description": "Unordered list. Locations that could not be reached.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, "Location": { "description": "A resource that represents a Google Cloud location.", "id": "Location", @@ -5935,6 +5692,10 @@ "description": "The PSC configurations on producer side.", "id": "ProducerPscConfig", "properties": { + "automatedDnsCreationSpec": { + "$ref": "AutomatedDnsCreationSpec", + "description": "Optional. The specification for automatically creating a DNS record for this PSC connection." + }, "serviceAttachmentUri": { "description": "The resource path of a service attachment. Example: projects/{projectNumOrId}/regions/{region}/serviceAttachments/{resourceId}.", "type": "string" @@ -6292,138 +6053,6 @@ }, "type": "object" }, - "RemoteTransportProfile": { - "description": "Message describing RemoteTransportProfile object.", - "id": "RemoteTransportProfile", - "properties": { - "createTime": { - "description": "Output only. [Output only] Create time stamp.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "description": { - "description": "Output only. Description of the profile.", - "readOnly": true, - "type": "string" - }, - "flow": { - "description": "Output only. [Output only] Type of provisioning flows supported by this profile.", - "enum": [ - "KEY_PROVISIONING_FLOW_UNSPECIFIED", - "INPUT_ONLY", - "OUTPUT_ONLY", - "INPUT_OR_OUTPUT" - ], - "enumDescriptions": [ - "Unspecified key provisioning flow.", - "The activationKey field on the Transport must be included in a create or patch request to establish connectivity.", - "The generatedActivationKey field is populated and must be read from the resource and passed into the other provider.", - "Both activation key fields are allowed for establishing connectivity. If a key is input, the generated key is still present after provisioning is finished." - ], - "readOnly": true, - "type": "string" - }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "Output only. Labels as key value pairs.", - "readOnly": true, - "type": "object" - }, - "name": { - "description": "Identifier. Name of the resource in the format of $provider-$site.", - "type": "string" - }, - "orderState": { - "description": "Output only. [Output only] Order state for this profile.", - "enum": [ - "STATE_UNSPECIFIED", - "CLOSED", - "OPEN" - ], - "enumDescriptions": [ - "Unspecified state.", - "Not enough capacity for customers to order.", - "Enough capacity to fulfill an order." - ], - "readOnly": true, - "type": "string" - }, - "provider": { - "description": "Output only. Name of the provider on the other end of this profile. E.g. “Amazon Web Services” or “Microsoft Azure”.", - "readOnly": true, - "type": "string" - }, - "providerSite": { - "description": "Output only. If the profile is a Cloud Service Provider with compute resources, this is populated with the region where connectivity is being established. If the profile provides facility-level selection, this is an identity of the facility any connections on this profile are going through.", - "readOnly": true, - "type": "string" - }, - "region": { - "description": "Output only. GCP Region where this profile is available.", - "readOnly": true, - "type": "string" - }, - "sla": { - "description": "Output only. [Output only] Availability class that will be configured for this particular RemoteTransportProfile.", - "enum": [ - "SERVICE_LEVEL_AVAILABILITY_UNSPECIFIED", - "HIGH", - "MAXIMUM" - ], - "enumDescriptions": [ - "Unspecified service level availability.", - "This represents a 99.9% service level on the availability of the configured connectivity.", - "This represents a 99.99% service level on the availability of the configured connectivity." - ], - "readOnly": true, - "type": "string" - }, - "supportedBandwidths": { - "description": "Output only. List of bandwidth enum values that are supported by this profile.", - "items": { - "enum": [ - "BANDWIDTH_UNSPECIFIED", - "BPS_50M", - "BPS_100M", - "BPS_200M", - "BPS_300M", - "BPS_400M", - "BPS_500M", - "BPS_1G", - "BPS_2G", - "BPS_5G", - "BPS_10G" - ], - "enumDescriptions": [ - "Unspecified bandwidth.", - "50 Megabits per second.", - "100 Megabits per second.", - "200 Megabits per second.", - "300 Megabits per second.", - "400 Megabits per second.", - "500 Megabits per second.", - "1 Gigabit per second.", - "2 Gigabits per second.", - "5 Gigabits per second.", - "10 Gigabits per second." - ], - "type": "string" - }, - "readOnly": true, - "type": "array" - }, - "updateTime": { - "description": "Output only. [Output only] Update time stamp.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, "Route": { "description": "A route defines a path from VM instances within a spoke to a specific destination resource. Only VPC spokes have routes.", "id": "Route", @@ -7347,141 +6976,6 @@ }, "type": "object" }, - "Transport": { - "description": "Message describing Transport object.", - "id": "Transport", - "properties": { - "adminEnabled": { - "description": "Optional. Administrative state of the underlying connectivity. If set to true (default), connectivity should be available between your environments. If set to false, the connectivity over these links is disabled. Disabling your Transport does not affect billing, and retains the underlying network bandwidth associated with the connectivity.", - "type": "boolean" - }, - "advertisedRoutes": { - "description": "Optional. [Preview only] List of IP Prefixes that will be advertised to the remote provider. Both IPv4 and IPv6 addresses are supported.", - "items": { - "type": "string" - }, - "type": "array" - }, - "bandwidth": { - "description": "Required. Bandwidth of the Transport. This must be one of the supported bandwidths for the remote profile.", - "enum": [ - "BANDWIDTH_UNSPECIFIED", - "BPS_50M", - "BPS_100M", - "BPS_200M", - "BPS_300M", - "BPS_400M", - "BPS_500M", - "BPS_1G", - "BPS_2G", - "BPS_5G", - "BPS_10G" - ], - "enumDescriptions": [ - "Unspecified bandwidth.", - "50 Megabits per second.", - "100 Megabits per second.", - "200 Megabits per second.", - "300 Megabits per second.", - "400 Megabits per second.", - "500 Megabits per second.", - "1 Gigabit per second.", - "2 Gigabits per second.", - "5 Gigabits per second.", - "10 Gigabits per second." - ], - "type": "string" - }, - "createTime": { - "description": "Output only. [Output only] Create time stamp.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - }, - "description": { - "description": "Optional. Description of the Transport.", - "type": "string" - }, - "generatedActivationKey": { - "description": "Output only. [Output only] Google-generated activation key. This is only output if the selected profile supports an OUTPUT key flow. Inputting this to the provider is only valid while the resource is in a PENDING_KEY state. Once the provider has accepted the key, the resource will move to the CONFIGURING state.", - "readOnly": true, - "type": "string" - }, - "labels": { - "additionalProperties": { - "type": "string" - }, - "description": "Optional. Labels as key value pairs.", - "type": "object" - }, - "mtuLimit": { - "description": "Output only. [Output only] The maximum transmission unit (MTU) of a packet that can be sent over this transport.", - "format": "int32", - "readOnly": true, - "type": "integer" - }, - "name": { - "description": "Identifier. Name of the resource, see google.aip.dev/122 for resource naming.", - "type": "string" - }, - "network": { - "description": "Required. [Preview only] Resource URL of the Network that will be peered with this Transport. This field must be provided during resource creation and cannot be changed.", - "type": "string" - }, - "providedActivationKey": { - "description": "Optional. Key used for establishing a connection with the remote transport. This key can only be provided if the profile supports an INPUT key flow and the resource is in the PENDING_KEY state.", - "type": "string" - }, - "region": { - "description": "Required. GCP Region where this Transport is located.", - "type": "string" - }, - "remoteProfile": { - "description": "Required. Resource URL of the remoteTransportProfile that this Transport is connecting to. Format: projects/{project}/locations/{location}/remoteTransportProfiles/{remote_transport_profile}", - "type": "string" - }, - "stackType": { - "description": "Optional. IP version stack for the established connectivity.", - "enum": [ - "STACK_TYPE_UNSPECIFIED", - "IPV4_ONLY", - "IPV4_IPV6" - ], - "enumDescriptions": [ - "Unspecified stack type.", - "Only IPv4 is supported. (default)", - "Both IPv4 and IPv6 are supported." - ], - "type": "string" - }, - "state": { - "description": "Output only. [Output only] State of the underlying connectivity.", - "enum": [ - "STATE_UNSPECIFIED", - "CREATING", - "PENDING_CONFIG", - "PENDING_KEY", - "ACTIVE" - ], - "enumDescriptions": [ - "Unspecified state.", - "The resource exists locally and is being created / associated with the resource on the remote provider’s end of the underlying connectivity.", - "The Transport exists on both sides of the connection, and is waiting for configuration to finalize and be verified as operational.", - "The Transport was created in GCP. Depending on the profile’s key provisioning flow, this is either waiting for an activation key to be input (the key will be validated that it uses remote resources that match the Transport), or for the generated key to be input to the provider for finalizing. The configured bandwidth is not yet guaranteed.", - "The Transport is configured and the underlying connectivity is considered operational." - ], - "readOnly": true, - "type": "string" - }, - "updateTime": { - "description": "Output only. [Output only] Update time stamp.", - "format": "google-datetime", - "readOnly": true, - "type": "string" - } - }, - "type": "object" - }, "VirtualMachine": { "description": "VM instances that this policy-based route applies to.", "id": "VirtualMachine", diff --git a/discovery/networkmanagement-v1.json b/discovery/networkmanagement-v1.json index 55c1cb56653..b1fac11ff2a 100644 --- a/discovery/networkmanagement-v1.json +++ b/discovery/networkmanagement-v1.json @@ -1233,7 +1233,7 @@ } } }, - "revision": "20250925", + "revision": "20251008", "rootUrl": "https://networkmanagement.googleapis.com/", "schemas": { "AbortInfo": { @@ -1898,7 +1898,9 @@ "CLOUD_NAT_PROTOCOL_UNSUPPORTED", "L2_INTERCONNECT_UNSUPPORTED_PROTOCOL", "L2_INTERCONNECT_UNSUPPORTED_PORT", - "L2_INTERCONNECT_DESTINATION_IP_MISMATCH" + "L2_INTERCONNECT_DESTINATION_IP_MISMATCH", + "NCC_ROUTE_WITHIN_HYBRID_SUBNET_UNSUPPORTED", + "HYBRID_SUBNET_REGION_MISMATCH" ], "enumDescriptions": [ "Cause is unspecified.", @@ -1997,7 +1999,9 @@ "Packet is dropped by Cloud NAT due to using an unsupported protocol.", "Packet is dropped due to using an unsupported protocol (any other than UDP) for L2 Interconnect.", "Packet is dropped due to using an unsupported port (any other than 6081) for L2 Interconnect.", - "Packet is dropped due to destination IP not matching the appliance mapping IPs configured on the L2 Interconnect attachment." + "Packet is dropped due to destination IP not matching the appliance mapping IPs configured on the L2 Interconnect attachment.", + "Packet could be dropped because it matches a route associated with an NCC spoke in the hybrid subnet context, but such a configuration is not supported.", + "Packet is dropped because the region of the hybrid subnet is different from the region of the next hop of the route matched within this hybrid subnet." ], "type": "string" }, diff --git a/discovery/networkmanagement-v1beta1.json b/discovery/networkmanagement-v1beta1.json index e71b49781d5..bdc03257e83 100644 --- a/discovery/networkmanagement-v1beta1.json +++ b/discovery/networkmanagement-v1beta1.json @@ -1237,7 +1237,7 @@ } } }, - "revision": "20250925", + "revision": "20251008", "rootUrl": "https://networkmanagement.googleapis.com/", "schemas": { "AbortInfo": { @@ -1902,7 +1902,9 @@ "CLOUD_NAT_PROTOCOL_UNSUPPORTED", "L2_INTERCONNECT_UNSUPPORTED_PROTOCOL", "L2_INTERCONNECT_UNSUPPORTED_PORT", - "L2_INTERCONNECT_DESTINATION_IP_MISMATCH" + "L2_INTERCONNECT_DESTINATION_IP_MISMATCH", + "NCC_ROUTE_WITHIN_HYBRID_SUBNET_UNSUPPORTED", + "HYBRID_SUBNET_REGION_MISMATCH" ], "enumDescriptions": [ "Cause is unspecified.", @@ -2001,7 +2003,9 @@ "Packet is dropped by Cloud NAT due to using an unsupported protocol.", "Packet is dropped due to using an unsupported protocol (any other than UDP) for L2 Interconnect.", "Packet is dropped due to using an unsupported port (any other than 6081) for L2 Interconnect.", - "Packet is dropped due to destination IP not matching the appliance mapping IPs configured on the L2 Interconnect attachment." + "Packet is dropped due to destination IP not matching the appliance mapping IPs configured on the L2 Interconnect attachment.", + "Packet could be dropped because it matches a route associated with an NCC spoke in the hybrid subnet context, but such a configuration is not supported.", + "Packet is dropped because the region of the hybrid subnet is different from the region of the next hop of the route matched within this hybrid subnet." ], "type": "string" }, diff --git a/discovery/notebooks-v1.json b/discovery/notebooks-v1.json index 36a9f4454a9..06dc142b93f 100644 --- a/discovery/notebooks-v1.json +++ b/discovery/notebooks-v1.json @@ -144,7 +144,7 @@ ], "parameters": { "extraLocationTypes": { - "description": "Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.", + "description": "Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.", "location": "query", "repeated": true, "type": "string" @@ -1315,6 +1315,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1/{+name}/operations", @@ -2014,7 +2019,7 @@ } } }, - "revision": "20250430", + "revision": "20251008", "rootUrl": "https://notebooks.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -3048,6 +3053,13 @@ "$ref": "Operation" }, "type": "array" + }, + "unreachable": { + "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.", + "items": { + "type": "string" + }, + "type": "array" } }, "type": "object" diff --git a/discovery/notebooks-v2.json b/discovery/notebooks-v2.json index df7becc966b..53851b1261b 100644 --- a/discovery/notebooks-v2.json +++ b/discovery/notebooks-v2.json @@ -144,7 +144,7 @@ ], "parameters": { "extraLocationTypes": { - "description": "Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.", + "description": "Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.", "location": "query", "repeated": true, "type": "string" @@ -499,7 +499,7 @@ ], "parameters": { "name": { - "description": "Output only. The name of this notebook instance. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`", + "description": "Output only. Identifier. The name of this notebook instance. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`", "location": "path", "pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", "required": true, @@ -949,6 +949,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v2/{+name}/operations", @@ -966,7 +971,7 @@ } } }, - "revision": "20250710", + "revision": "20251008", "rootUrl": "https://notebooks.googleapis.com/", "schemas": { "AcceleratorConfig": { @@ -1268,6 +1273,13 @@ "kmsKey": { "description": "Optional. Input only. The KMS key used to encrypt the disks, only applicable if disk_encryption is CMEK. Format: `projects/{project_id}/locations/{location}/keyRings/{key_ring_id}/cryptoKeys/{key_id}` Learn more about using your own encryption keys.", "type": "string" + }, + "resourcePolicies": { + "description": "Optional. The resource policies to apply to the data disk.", + "items": { + "type": "string" + }, + "type": "array" } }, "type": "object" @@ -1637,7 +1649,7 @@ "type": "object" }, "name": { - "description": "Output only. The name of this notebook instance. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`", + "description": "Output only. Identifier. The name of this notebook instance. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}`", "readOnly": true, "type": "string" }, @@ -1766,6 +1778,13 @@ "$ref": "Operation" }, "type": "array" + }, + "unreachable": { + "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.", + "items": { + "type": "string" + }, + "type": "array" } }, "type": "object" diff --git a/discovery/recommendationengine-v1beta1.json b/discovery/recommendationengine-v1beta1.json index 6cc5fbd673d..4e565fb88f1 100644 --- a/discovery/recommendationengine-v1beta1.json +++ b/discovery/recommendationengine-v1beta1.json @@ -428,6 +428,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -822,6 +827,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -841,7 +851,7 @@ } } }, - "revision": "20230810", + "revision": "20251009", "rootUrl": "https://recommendationengine.googleapis.com/", "schemas": { "GoogleApiHttpBody": { @@ -1968,6 +1978,13 @@ "$ref": "GoogleLongrunningOperation" }, "type": "array" + }, + "unreachable": { + "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.", + "items": { + "type": "string" + }, + "type": "array" } }, "type": "object" diff --git a/discovery/redis-v1.json b/discovery/redis-v1.json index 91bf4fe5017..94479fa4d21 100644 --- a/discovery/redis-v1.json +++ b/discovery/redis-v1.json @@ -1056,6 +1056,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1/{+name}/operations", @@ -1073,7 +1078,7 @@ } } }, - "revision": "20251007", + "revision": "20251009", "rootUrl": "https://redis.googleapis.com/", "schemas": { "AOFConfig": { @@ -2321,7 +2326,8 @@ "SIGNAL_TYPE_REPLICATION_LAG", "SIGNAL_TYPE_OUTDATED_VERSION", "SIGNAL_TYPE_OUTDATED_CLIENT", - "SIGNAL_TYPE_DATABOOST_DISABLED" + "SIGNAL_TYPE_DATABOOST_DISABLED", + "SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES" ], "enumDeprecated": [ false, @@ -2426,6 +2432,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -2531,7 +2538,8 @@ "Replication delay.", "Outdated version.", "Outdated client.", - "Databoost is disabled." + "Databoost is disabled.", + "Recommended maintenance policy." ], "type": "string" }, @@ -2970,7 +2978,8 @@ "SIGNAL_TYPE_REPLICATION_LAG", "SIGNAL_TYPE_OUTDATED_VERSION", "SIGNAL_TYPE_OUTDATED_CLIENT", - "SIGNAL_TYPE_DATABOOST_DISABLED" + "SIGNAL_TYPE_DATABOOST_DISABLED", + "SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES" ], "enumDeprecated": [ false, @@ -3075,6 +3084,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -3180,7 +3190,8 @@ "Replication delay.", "Outdated version.", "Outdated client.", - "Databoost is disabled." + "Databoost is disabled.", + "Recommended maintenance policy." ], "type": "string" } @@ -4027,6 +4038,13 @@ "$ref": "Operation" }, "type": "array" + }, + "unreachable": { + "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.", + "items": { + "type": "string" + }, + "type": "array" } }, "type": "object" @@ -4967,7 +4985,8 @@ "type": "string" }, "phase": { - "description": "Optional. Phase of the maintenance window. This is to capture order of maintenance. For example, for Cloud SQL resources, this can be used to capture if the maintenance window is in Week1, Week2, Week5, etc. Non production resources are usually part of early phase. For more details, refer to Cloud SQL resources - https://cloud.google.com/sql/docs/mysql/maintenance", + "deprecated": true, + "description": "Optional. Phase of the maintenance window. This is to capture order of maintenance. For example, for Cloud SQL resources, this can be used to capture if the maintenance window is in Week1, Week2, Week5, etc. Non production resources are usually part of early phase. For more details, refer to Cloud SQL resources - https://cloud.google.com/sql/docs/mysql/maintenance Deprecated. Use phase instead.", "enum": [ "WINDOW_PHASE_UNSPECIFIED", "WINDOW_PHASE_ANY", @@ -4987,6 +5006,24 @@ "time": { "$ref": "TimeOfDay", "description": "Optional. Preferred time to start the maintenance operation on the specified day." + }, + "week": { + "description": "Optional. Phase of the maintenance window. This is to capture order of maintenance. For example, for Cloud SQL resources, this can be used to capture if the maintenance window is in Week1, Week2, Week5, etc. Non production resources are usually part of early phase. For more details, refer to Cloud SQL resources - https://cloud.google.com/sql/docs/mysql/maintenance", + "enum": [ + "PHASE_UNSPECIFIED", + "ANY", + "WEEK1", + "WEEK2", + "WEEK5" + ], + "enumDescriptions": [ + "Phase is unspecified.", + "Any phase.", + "Week 1.", + "Week 2.", + "Week 5." + ], + "type": "string" } }, "type": "object" diff --git a/discovery/redis-v1beta1.json b/discovery/redis-v1beta1.json index c77e8a7145c..cbc505cf820 100644 --- a/discovery/redis-v1beta1.json +++ b/discovery/redis-v1beta1.json @@ -1056,6 +1056,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1beta1/{+name}/operations", @@ -1073,7 +1078,7 @@ } } }, - "revision": "20251007", + "revision": "20251009", "rootUrl": "https://redis.googleapis.com/", "schemas": { "AOFConfig": { @@ -2321,7 +2326,8 @@ "SIGNAL_TYPE_REPLICATION_LAG", "SIGNAL_TYPE_OUTDATED_VERSION", "SIGNAL_TYPE_OUTDATED_CLIENT", - "SIGNAL_TYPE_DATABOOST_DISABLED" + "SIGNAL_TYPE_DATABOOST_DISABLED", + "SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES" ], "enumDeprecated": [ false, @@ -2426,6 +2432,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -2531,7 +2538,8 @@ "Replication delay.", "Outdated version.", "Outdated client.", - "Databoost is disabled." + "Databoost is disabled.", + "Recommended maintenance policy." ], "type": "string" }, @@ -2970,7 +2978,8 @@ "SIGNAL_TYPE_REPLICATION_LAG", "SIGNAL_TYPE_OUTDATED_VERSION", "SIGNAL_TYPE_OUTDATED_CLIENT", - "SIGNAL_TYPE_DATABOOST_DISABLED" + "SIGNAL_TYPE_DATABOOST_DISABLED", + "SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES" ], "enumDeprecated": [ false, @@ -3075,6 +3084,7 @@ false, false, false, + false, false ], "enumDescriptions": [ @@ -3180,7 +3190,8 @@ "Replication delay.", "Outdated version.", "Outdated client.", - "Databoost is disabled." + "Databoost is disabled.", + "Recommended maintenance policy." ], "type": "string" } @@ -4034,6 +4045,13 @@ "$ref": "Operation" }, "type": "array" + }, + "unreachable": { + "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.", + "items": { + "type": "string" + }, + "type": "array" } }, "type": "object" @@ -4974,7 +4992,8 @@ "type": "string" }, "phase": { - "description": "Optional. Phase of the maintenance window. This is to capture order of maintenance. For example, for Cloud SQL resources, this can be used to capture if the maintenance window is in Week1, Week2, Week5, etc. Non production resources are usually part of early phase. For more details, refer to Cloud SQL resources - https://cloud.google.com/sql/docs/mysql/maintenance", + "deprecated": true, + "description": "Optional. Phase of the maintenance window. This is to capture order of maintenance. For example, for Cloud SQL resources, this can be used to capture if the maintenance window is in Week1, Week2, Week5, etc. Non production resources are usually part of early phase. For more details, refer to Cloud SQL resources - https://cloud.google.com/sql/docs/mysql/maintenance Deprecated. Use phase instead.", "enum": [ "WINDOW_PHASE_UNSPECIFIED", "WINDOW_PHASE_ANY", @@ -4994,6 +5013,24 @@ "time": { "$ref": "TimeOfDay", "description": "Optional. Preferred time to start the maintenance operation on the specified day." + }, + "week": { + "description": "Optional. Phase of the maintenance window. This is to capture order of maintenance. For example, for Cloud SQL resources, this can be used to capture if the maintenance window is in Week1, Week2, Week5, etc. Non production resources are usually part of early phase. For more details, refer to Cloud SQL resources - https://cloud.google.com/sql/docs/mysql/maintenance", + "enum": [ + "PHASE_UNSPECIFIED", + "ANY", + "WEEK1", + "WEEK2", + "WEEK5" + ], + "enumDescriptions": [ + "Phase is unspecified.", + "Any phase.", + "Week 1.", + "Week 2.", + "Week 5." + ], + "type": "string" } }, "type": "object" diff --git a/discovery/storagebatchoperations-v1.json b/discovery/storagebatchoperations-v1.json index 16f4ccadf11..0d1af224e39 100644 --- a/discovery/storagebatchoperations-v1.json +++ b/discovery/storagebatchoperations-v1.json @@ -487,7 +487,7 @@ } } }, - "revision": "20250924", + "revision": "20251015", "rootUrl": "https://storagebatchoperations.googleapis.com/", "schemas": { "Bucket": { @@ -910,6 +910,31 @@ }, "type": "object" }, + "ObjectRetention": { + "description": "Describes options for object retention update.", + "id": "ObjectRetention", + "properties": { + "retainUntilTime": { + "description": "Required. The time when the object will be retained until. UNSET will clear the retention. Must be specified in RFC 3339 format e.g. YYYY-MM-DD'T'HH:MM:SS.SS'Z' or YYYY-MM-DD'T'HH:MM:SS'Z'.", + "type": "string" + }, + "retentionMode": { + "description": "Required. The retention mode of the object.", + "enum": [ + "RETENTION_MODE_UNSPECIFIED", + "LOCKED", + "UNLOCKED" + ], + "enumDescriptions": [ + "If set and retain_until_time is empty, clears the retention.", + "Sets the retention mode to locked.", + "Sets the retention mode to unlocked." + ], + "type": "string" + } + }, + "type": "object" + }, "Operation": { "description": "This resource represents a long-running operation that is the result of a network API call.", "id": "Operation", @@ -1032,6 +1057,10 @@ "customTime": { "description": "Optional. Updates objects Custom-Time fixed metadata. Unset values will be ignored. Set empty values to clear the metadata. Refer to documentation in https://cloud.google.com/storage/docs/metadata#custom-time.", "type": "string" + }, + "objectRetention": { + "$ref": "ObjectRetention", + "description": "Optional. Updates objects retention lock configuration. Unset values will be ignored. Set empty values to clear the retention for the object with existing `Unlocked` retention mode. Object with existing `Locked` retention mode cannot be cleared or reduce retain_until_time. Refer to documentation in https://cloud.google.com/storage/docs/object-lock" } }, "type": "object" diff --git a/discovery/texttospeech-v1.json b/discovery/texttospeech-v1.json index f8400713ae2..59433a39c82 100644 --- a/discovery/texttospeech-v1.json +++ b/discovery/texttospeech-v1.json @@ -323,7 +323,7 @@ } } }, - "revision": "20251001", + "revision": "20251014", "rootUrl": "https://texttospeech.googleapis.com/", "schemas": { "AdvancedVoiceOptions": { @@ -333,6 +333,10 @@ "lowLatencyJourneySynthesis": { "description": "Only for Journey voices. If false, the synthesis is context aware and has a higher latency.", "type": "boolean" + }, + "relaxSafetyFilters": { + "description": "Optional. Input only. If true, relaxes safety filters for Gemini TTS. Only supported for accounts linked to Invoiced (Offline) Cloud billing accounts. Otherwise, will return result google.rpc.Code.INVALID_ARGUMENT.", + "type": "boolean" } }, "type": "object" diff --git a/discovery/texttospeech-v1beta1.json b/discovery/texttospeech-v1beta1.json index a5144f23de7..8c715c74f10 100644 --- a/discovery/texttospeech-v1beta1.json +++ b/discovery/texttospeech-v1beta1.json @@ -266,7 +266,7 @@ } } }, - "revision": "20251001", + "revision": "20251014", "rootUrl": "https://texttospeech.googleapis.com/", "schemas": { "AdvancedVoiceOptions": { @@ -276,6 +276,10 @@ "lowLatencyJourneySynthesis": { "description": "Only for Journey voices. If false, the synthesis is context aware and has a higher latency.", "type": "boolean" + }, + "relaxSafetyFilters": { + "description": "Optional. Input only. If true, relaxes safety filters for Gemini TTS. Only supported for accounts linked to Invoiced (Offline) Cloud billing accounts. Otherwise, will return result google.rpc.Code.INVALID_ARGUMENT.", + "type": "boolean" } }, "type": "object" diff --git a/discovery/vault-v1.json b/discovery/vault-v1.json index 990a8621258..f57e2e81f51 100644 --- a/discovery/vault-v1.json +++ b/discovery/vault-v1.json @@ -1189,6 +1189,11 @@ "description": "The standard list page token.", "location": "query", "type": "string" + }, + "returnPartialSuccess": { + "description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.", + "location": "query", + "type": "boolean" } }, "path": "v1/{+name}", @@ -1203,7 +1208,7 @@ } } }, - "revision": "20250616", + "revision": "20251015", "rootUrl": "https://vault.googleapis.com/", "schemas": { "AccountCount": { @@ -2241,6 +2246,13 @@ "$ref": "Operation" }, "type": "array" + }, + "unreachable": { + "description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.", + "items": { + "type": "string" + }, + "type": "array" } }, "type": "object" diff --git a/src/apis/aiplatform/v1.ts b/src/apis/aiplatform/v1.ts index 95d9ea9a914..202791a7a3b 100644 --- a/src/apis/aiplatform/v1.ts +++ b/src/apis/aiplatform/v1.ts @@ -3109,7 +3109,7 @@ export namespace aiplatform_v1 { */ deploymentGroup?: string | null; /** - * Optional. The deployment tier that the index is deployed to. DEPLOYMENT_TIER_UNSPECIFIED defaults to PERFORMANCE. + * Optional. The deployment tier that the index is deployed to. DEPLOYMENT_TIER_UNSPECIFIED will use a system-chosen default tier. */ deploymentTier?: string | null; /** @@ -3497,6 +3497,10 @@ export namespace aiplatform_v1 { * Optional. Immutable. The ID to use for endpoint, which will become the final component of the endpoint resource name. If not provided, Vertex AI will generate a value for this ID. If the first character is a letter, this value may be up to 63 characters, and valid characters are `[a-z0-9-]`. The last character must be a letter or number. If the first character is a number, this value may be up to 9 characters, and valid characters are `[0-9]` with no leading zeros. When using HTTP/JSON, this field is populated based on a query string argument, such as `?endpoint_id=12345`. This is the fallback for fields that are not included in either the URI or the body. */ endpointUserId?: string | null; + /** + * Optional. The labels with user-defined metadata to organize your Endpoints. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels. + */ + labels?: {[key: string]: string} | null; /** * Optional. Configuration for private service connect. If set, the endpoint will be exposed through private service connect. */ @@ -3768,6 +3772,10 @@ export namespace aiplatform_v1 { * Tool to search public web data, powered by Vertex AI Search and Sec4 compliance. */ export interface Schema$GoogleCloudAiplatformV1EnterpriseWebSearch { + /** + * Optional. Sites with confidence level chosen & above this value will be blocked from the search results. + */ + blockingConfidence?: string | null; /** * Optional. List of domains to be excluded from the search results. The default limit is 2000 domains. */ @@ -4602,7 +4610,7 @@ export namespace aiplatform_v1 { */ generationConfig?: Schema$GoogleCloudAiplatformV1GenerationConfig; /** - * Required. The fully qualified name of the publisher model or endpoint to use. Publisher model format: `projects/{project\}/locations/{location\}/publishers/x/models/x` Endpoint format: `projects/{project\}/locations/{location\}/endpoints/{endpoint\}` + * Optional. The fully qualified name of the publisher model or endpoint to use. Publisher model format: `projects/{project\}/locations/{location\}/publishers/x/models/x` Endpoint format: `projects/{project\}/locations/{location\}/endpoints/{endpoint\}` */ model?: string | null; } @@ -5811,6 +5819,14 @@ export namespace aiplatform_v1 { * Required. Autoscaling config applied to Bigtable Instance. */ autoScaling?: Schema$GoogleCloudAiplatformV1FeatureOnlineStoreBigtableAutoScaling; + /** + * Output only. Metadata of the Bigtable instance. Output only. + */ + bigtableMetadata?: Schema$GoogleCloudAiplatformV1FeatureOnlineStoreBigtableBigtableMetadata; + /** + * Optional. It true, enable direct access to the Bigtable instance. + */ + enableDirectBigtableAccess?: boolean | null; } export interface Schema$GoogleCloudAiplatformV1FeatureOnlineStoreBigtableAutoScaling { /** @@ -5826,6 +5842,23 @@ export namespace aiplatform_v1 { */ minNodeCount?: number | null; } + /** + * Metadata of the Bigtable instance. This is used by direct read access to the Bigtable in tenant project. + */ + export interface Schema$GoogleCloudAiplatformV1FeatureOnlineStoreBigtableBigtableMetadata { + /** + * The Cloud Bigtable instance id. + */ + instanceId?: string | null; + /** + * The Cloud Bigtable table id. + */ + tableId?: string | null; + /** + * Tenant project ID. + */ + tenantProjectId?: string | null; + } /** * The dedicated serving endpoint for this FeatureOnlineStore. Only need to set when you choose Optimized storage type. Public endpoint is provisioned by default. */ @@ -6120,6 +6153,10 @@ export namespace aiplatform_v1 { * Optional. Configures how data is supposed to be extracted from a BigQuery source to be loaded onto the FeatureOnlineStore. */ bigQuerySource?: Schema$GoogleCloudAiplatformV1FeatureViewBigQuerySource; + /** + * Output only. Metadata containing information about the Cloud Bigtable. + */ + bigtableMetadata?: Schema$GoogleCloudAiplatformV1FeatureViewBigtableMetadata; /** * Output only. Timestamp when this FeatureView was created. */ @@ -6187,6 +6224,15 @@ export namespace aiplatform_v1 { */ uri?: string | null; } + /** + * Metadata for the Cloud Bigtable that supports directly interacting Bigtable instances. + */ + export interface Schema$GoogleCloudAiplatformV1FeatureViewBigtableMetadata { + /** + * Output only. The Bigtable App Profile to use for reading from Bigtable. + */ + readAppProfile?: string | null; + } /** * Lookup key for a feature view. */ @@ -6995,6 +7041,23 @@ export namespace aiplatform_v1 { */ trafficType?: string | null; } + /** + * Request message for FeatureOnlineStoreService.GenerateFetchAccessToken. + */ + export interface Schema$GoogleCloudAiplatformV1GenerateFetchAccessTokenRequest {} + /** + * Response message for FeatureOnlineStoreService.GenerateFetchAccessToken. + */ + export interface Schema$GoogleCloudAiplatformV1GenerateFetchAccessTokenResponse { + /** + * The OAuth 2.0 access token. + */ + accessToken?: string | null; + /** + * Token expiration time. This is always set + */ + expireTime?: string | null; + } /** * Request message for EvaluationService.GenerateInstanceRubrics. */ @@ -7109,6 +7172,10 @@ export namespace aiplatform_v1 { * Optional. Frequency penalties. */ frequencyPenalty?: number | null; + /** + * Optional. Config for image generation features. + */ + imageConfig?: Schema$GoogleCloudAiplatformV1ImageConfig; /** * Optional. Logit probabilities. */ @@ -7599,6 +7666,15 @@ export namespace aiplatform_v1 { */ ids?: string[] | null; } + /** + * Config for image generation features. + */ + export interface Schema$GoogleCloudAiplatformV1ImageConfig { + /** + * Optional. The desired aspect ratio for the generated images. The following aspect ratios are supported: "1:1" "2:3", "3:2" "3:4", "4:3" "4:5", "5:4" "9:16", "16:9" "21:9" + */ + aspectRatio?: string | null; + } /** * Describes the location from where we import data into a Dataset, together with the labels that will be applied to the DataItems and the Annotations. */ @@ -10404,6 +10480,15 @@ export namespace aiplatform_v1 { */ step?: string | null; } + /** + * Configuration for a multi-speaker text-to-speech setup. Enables the use of up to two distinct voices in a single synthesis request. + */ + export interface Schema$GoogleCloudAiplatformV1MultiSpeakerVoiceConfig { + /** + * Required. A list of configurations for the voices of the speakers. Exactly two speaker voice configurations must be provided. + */ + speakerVoiceConfigs?: Schema$GoogleCloudAiplatformV1SpeakerVoiceConfig[]; + } /** * Runtime operation information for IndexEndpointService.MutateDeployedIndex. */ @@ -12205,6 +12290,23 @@ export namespace aiplatform_v1 { */ query?: string | null; } + /** + * A pre-tuned model for continuous tuning. + */ + export interface Schema$GoogleCloudAiplatformV1PreTunedModel { + /** + * Output only. The name of the base model this PreTunedModel was tuned from. + */ + baseModel?: string | null; + /** + * Optional. The source checkpoint id. If not specified, the default checkpoint will be used. + */ + checkpointId?: string | null; + /** + * The resource name of the Model. E.g., a model resource name with a specified version id or alias: `projects/{project\}/locations/{location\}/models/{model\}@{version_id\}` `projects/{project\}/locations/{location\}/models/{model\}@{alias\}` Or, omit the version id to use the default version: `projects/{project\}/locations/{location\}/models/{model\}` + */ + tunedModelName?: string | null; + } /** * PrivateEndpoints proto is used to provide paths for users to send requests privately. To send request via private service access, use predict_http_uri, explain_http_uri or health_http_uri. To send request via private service connect, use service_attachment. */ @@ -18002,6 +18104,19 @@ export namespace aiplatform_v1 { */ noisySampleCount?: number | null; } + /** + * Configuration for a single speaker in a multi speaker setup. + */ + export interface Schema$GoogleCloudAiplatformV1SpeakerVoiceConfig { + /** + * Required. The name of the speaker. This should be the same as the speaker name used in the prompt. + */ + speaker?: string | null; + /** + * Required. The configuration for the voice of this speaker. + */ + voiceConfig?: Schema$GoogleCloudAiplatformV1VoiceConfig; + } /** * SpecialistPool represents customers' own workforce to work on their data labeling jobs. It includes a group of specialist managers and workers. Managers are responsible for managing the workers in this pool as well as customers' data labeling jobs associated with this pool. Customers create specialist pool as well as start data labeling jobs on Cloud, managers and workers handle the jobs using CrowdCompute console. */ @@ -18074,6 +18189,10 @@ export namespace aiplatform_v1 { * Optional. Language code (ISO 639. e.g. en-US) for the speech synthesization. */ languageCode?: string | null; + /** + * The configuration for a multi-speaker text-to-speech request. This field is mutually exclusive with `voice_config`. + */ + multiSpeakerVoiceConfig?: Schema$GoogleCloudAiplatformV1MultiSpeakerVoiceConfig; /** * The configuration for the speaker to use. */ @@ -19506,6 +19625,10 @@ export namespace aiplatform_v1 { * GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google. */ export interface Schema$GoogleCloudAiplatformV1ToolGoogleSearch { + /** + * Optional. Sites with confidence level chosen & above this value will be blocked from the search results. + */ + blockingConfidence?: string | null; /** * Optional. List of domains to be excluded from the search results. The default limit is 2000 domains. Example: ["amazon.com", "facebook.com"]. */ @@ -20129,7 +20252,7 @@ export namespace aiplatform_v1 { */ endpoint?: string | null; /** - * Output only. The resource name of the TunedModel. Format: `projects/{project\}/locations/{location\}/models/{model\}@{version_id\}` When tuning from a base model, the version_id will be 1. For continuous tuning, the version id will be incremented by 1 from the last version id in the parent model. E.g., `projects/{project\}/locations/{location\}/models/{model\}@{last_version_id + 1\}` + * Output only. The resource name of the TunedModel. Format: `projects/{project\}/locations/{location\}/models/{model\}@{version_id\}` When tuning from a base model, the version ID will be 1. For continuous tuning, if the provided tuned_model_display_name is set and different from parent model's display name, the tuned model will have a new parent model with version 1. Otherwise the version id will be incremented by 1 from the last version ID in the parent model. E.g., `projects/{project\}/locations/{location\}/models/{model\}@{last_version_id + 1\}` */ model?: string | null; } @@ -20220,6 +20343,10 @@ export namespace aiplatform_v1 { * Output only. Identifier. Resource name of a TuningJob. Format: `projects/{project\}/locations/{location\}/tuningJobs/{tuning_job\}` */ name?: string | null; + /** + * The pre-tuned model for continuous tuning. + */ + preTunedModel?: Schema$GoogleCloudAiplatformV1PreTunedModel; /** * The service account that the tuningJob workload runs as. If not specified, the Vertex AI Secure Fine-Tuned Service Agent in the project will be used. See https://cloud.google.com/iam/docs/service-agents#vertex-ai-secure-fine-tuning-service-agent Users starting the pipeline must have the `iam.serviceAccounts.actAs` permission on this service account. */ @@ -20241,7 +20368,7 @@ export namespace aiplatform_v1 { */ tunedModel?: Schema$GoogleCloudAiplatformV1TunedModel; /** - * Optional. The display name of the TunedModel. The name can be up to 128 characters long and can consist of any UTF-8 characters. + * Optional. The display name of the TunedModel. The name can be up to 128 characters long and can consist of any UTF-8 characters. For continuous tuning, tuned_model_display_name will by default use the same display name as the pre-tuned model. If a new display name is provided, the tuning job will create a new model instead of a new version. */ tunedModelDisplayName?: string | null; /** @@ -20949,6 +21076,10 @@ export namespace aiplatform_v1 { * A list of operations that matches the specified filter in the request. */ operations?: Schema$GoogleLongrunningOperation[]; + /** + * Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations. + */ + unreachable?: string[] | null; } /** * This resource represents a long-running operation that is the result of a network API call. @@ -30761,13 +30892,16 @@ export namespace aiplatform_v1 { * pageSize: 'placeholder-value', * // The standard list page token. * pageToken: 'placeholder-value', + * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + * returnPartialSuccess: 'placeholder-value', * }); * console.log(res.data); * * // Example response * // { * // "nextPageToken": "my_nextPageToken", - * // "operations": [] + * // "operations": [], + * // "unreachable": [] * // } * } * @@ -31062,6 +31196,10 @@ export namespace aiplatform_v1 { * The standard list page token. */ pageToken?: string; + /** + * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + */ + returnPartialSuccess?: boolean; } export interface Params$Resource$Projects$Locations$Customjobs$Operations$Wait extends StandardParameters { @@ -32402,13 +32540,16 @@ export namespace aiplatform_v1 { * pageSize: 'placeholder-value', * // The standard list page token. * pageToken: 'placeholder-value', + * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + * returnPartialSuccess: 'placeholder-value', * }); * console.log(res.data); * * // Example response * // { * // "nextPageToken": "my_nextPageToken", - * // "operations": [] + * // "operations": [], + * // "unreachable": [] * // } * } * @@ -32704,6 +32845,10 @@ export namespace aiplatform_v1 { * The standard list page token. */ pageToken?: string; + /** + * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + */ + returnPartialSuccess?: boolean; } export interface Params$Resource$Projects$Locations$Datalabelingjobs$Operations$Wait extends StandardParameters { @@ -34819,6 +34964,8 @@ export namespace aiplatform_v1 { * pageSize: 'placeholder-value', * // The standard list page token. * pageToken: 'placeholder-value', + * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + * returnPartialSuccess: 'placeholder-value', * }, * ); * console.log(res.data); @@ -34826,7 +34973,8 @@ export namespace aiplatform_v1 { * // Example response * // { * // "nextPageToken": "my_nextPageToken", - * // "operations": [] + * // "operations": [], + * // "unreachable": [] * // } * } * @@ -35124,6 +35272,10 @@ export namespace aiplatform_v1 { * The standard list page token. */ pageToken?: string; + /** + * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + */ + returnPartialSuccess?: boolean; } export interface Params$Resource$Projects$Locations$Datasets$Annotationspecs$Operations$Wait extends StandardParameters { @@ -36007,6 +36159,8 @@ export namespace aiplatform_v1 { * pageSize: 'placeholder-value', * // The standard list page token. * pageToken: 'placeholder-value', + * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + * returnPartialSuccess: 'placeholder-value', * }, * ); * console.log(res.data); @@ -36014,7 +36168,8 @@ export namespace aiplatform_v1 { * // Example response * // { * // "nextPageToken": "my_nextPageToken", - * // "operations": [] + * // "operations": [], + * // "unreachable": [] * // } * } * @@ -36312,6 +36467,10 @@ export namespace aiplatform_v1 { * The standard list page token. */ pageToken?: string; + /** + * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + */ + returnPartialSuccess?: boolean; } export interface Params$Resource$Projects$Locations$Datasets$Dataitems$Annotations$Operations$Wait extends StandardParameters { @@ -36783,13 +36942,16 @@ export namespace aiplatform_v1 { * pageSize: 'placeholder-value', * // The standard list page token. * pageToken: 'placeholder-value', + * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + * returnPartialSuccess: 'placeholder-value', * }); * console.log(res.data); * * // Example response * // { * // "nextPageToken": "my_nextPageToken", - * // "operations": [] + * // "operations": [], + * // "unreachable": [] * // } * } * @@ -37085,6 +37247,10 @@ export namespace aiplatform_v1 { * The standard list page token. */ pageToken?: string; + /** + * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + */ + returnPartialSuccess?: boolean; } export interface Params$Resource$Projects$Locations$Datasets$Dataitems$Operations$Wait extends StandardParameters { @@ -38586,13 +38752,16 @@ export namespace aiplatform_v1 { * pageSize: 'placeholder-value', * // The standard list page token. * pageToken: 'placeholder-value', + * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + * returnPartialSuccess: 'placeholder-value', * }); * console.log(res.data); * * // Example response * // { * // "nextPageToken": "my_nextPageToken", - * // "operations": [] + * // "operations": [], + * // "unreachable": [] * // } * } * @@ -38887,6 +39056,10 @@ export namespace aiplatform_v1 { * The standard list page token. */ pageToken?: string; + /** + * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + */ + returnPartialSuccess?: boolean; } export interface Params$Resource$Projects$Locations$Datasets$Operations$Wait extends StandardParameters { @@ -39711,13 +39884,16 @@ export namespace aiplatform_v1 { * pageSize: 'placeholder-value', * // The standard list page token. * pageToken: 'placeholder-value', + * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + * returnPartialSuccess: 'placeholder-value', * }); * console.log(res.data); * * // Example response * // { * // "nextPageToken": "my_nextPageToken", - * // "operations": [] + * // "operations": [], + * // "unreachable": [] * // } * } * @@ -40013,6 +40189,10 @@ export namespace aiplatform_v1 { * The standard list page token. */ pageToken?: string; + /** + * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + */ + returnPartialSuccess?: boolean; } export interface Params$Resource$Projects$Locations$Datasets$Savedqueries$Operations$Wait extends StandardParameters { @@ -41500,6 +41680,8 @@ export namespace aiplatform_v1 { * pageSize: 'placeholder-value', * // The standard list page token. * pageToken: 'placeholder-value', + * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + * returnPartialSuccess: 'placeholder-value', * }, * ); * console.log(res.data); @@ -41507,7 +41689,8 @@ export namespace aiplatform_v1 { * // Example response * // { * // "nextPageToken": "my_nextPageToken", - * // "operations": [] + * // "operations": [], + * // "unreachable": [] * // } * } * @@ -41805,6 +41988,10 @@ export namespace aiplatform_v1 { * The standard list page token. */ pageToken?: string; + /** + * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + */ + returnPartialSuccess?: boolean; } export interface Params$Resource$Projects$Locations$Deploymentresourcepools$Operations$Wait extends StandardParameters { @@ -46849,13 +47036,16 @@ export namespace aiplatform_v1 { * pageSize: 'placeholder-value', * // The standard list page token. * pageToken: 'placeholder-value', + * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + * returnPartialSuccess: 'placeholder-value', * }); * console.log(res.data); * * // Example response * // { * // "nextPageToken": "my_nextPageToken", - * // "operations": [] + * // "operations": [], + * // "unreachable": [] * // } * } * @@ -47150,6 +47340,10 @@ export namespace aiplatform_v1 { * The standard list page token. */ pageToken?: string; + /** + * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + */ + returnPartialSuccess?: boolean; } export interface Params$Resource$Projects$Locations$Endpoints$Operations$Wait extends StandardParameters { @@ -52255,6 +52449,8 @@ export namespace aiplatform_v1 { * pageSize: 'placeholder-value', * // The standard list page token. * pageToken: 'placeholder-value', + * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + * returnPartialSuccess: 'placeholder-value', * }, * ); * console.log(res.data); @@ -52262,7 +52458,8 @@ export namespace aiplatform_v1 { * // Example response * // { * // "nextPageToken": "my_nextPageToken", - * // "operations": [] + * // "operations": [], + * // "unreachable": [] * // } * } * @@ -52548,6 +52745,10 @@ export namespace aiplatform_v1 { * The standard list page token. */ pageToken?: string; + /** + * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + */ + returnPartialSuccess?: boolean; } export interface Params$Resource$Projects$Locations$Featuregroups$Features$Operations$Wait extends StandardParameters { @@ -52884,13 +53085,16 @@ export namespace aiplatform_v1 { * pageSize: 'placeholder-value', * // The standard list page token. * pageToken: 'placeholder-value', + * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + * returnPartialSuccess: 'placeholder-value', * }); * console.log(res.data); * * // Example response * // { * // "nextPageToken": "my_nextPageToken", - * // "operations": [] + * // "operations": [], + * // "unreachable": [] * // } * } * @@ -53177,6 +53381,10 @@ export namespace aiplatform_v1 { * The standard list page token. */ pageToken?: string; + /** + * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + */ + returnPartialSuccess?: boolean; } export interface Params$Resource$Projects$Locations$Featuregroups$Operations$Wait extends StandardParameters { @@ -54616,6 +54824,7 @@ export namespace aiplatform_v1 { * // request body parameters * // { * // "bigQuerySource": {}, + * // "bigtableMetadata": {}, * // "createTime": "my_createTime", * // "etag": "my_etag", * // "featureRegistrySource": {}, @@ -55216,6 +55425,164 @@ export namespace aiplatform_v1 { } } + /** + * RPC to generate an access token for the given feature view. FeatureViews under the same FeatureOnlineStore share the same access token. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/aiplatform.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const aiplatform = google.aiplatform('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await aiplatform.projects.locations.featureOnlineStores.featureViews.generateFetchAccessToken( + * { + * // FeatureView resource format `projects/{project\}/locations/{location\}/featureOnlineStores/{featureOnlineStore\}/featureViews/{featureView\}` + * featureView: + * 'projects/my-project/locations/my-location/featureOnlineStores/my-featureOnlineStore/featureViews/my-featureView', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // {} + * }, + * }, + * ); + * console.log(res.data); + * + * // Example response + * // { + * // "accessToken": "my_accessToken", + * // "expireTime": "my_expireTime" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + generateFetchAccessToken( + params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Generatefetchaccesstoken, + options: StreamMethodOptions + ): Promise>; + generateFetchAccessToken( + params?: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Generatefetchaccesstoken, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + generateFetchAccessToken( + params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Generatefetchaccesstoken, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + generateFetchAccessToken( + params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Generatefetchaccesstoken, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + generateFetchAccessToken( + params: Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Generatefetchaccesstoken, + callback: BodyResponseCallback + ): void; + generateFetchAccessToken( + callback: BodyResponseCallback + ): void; + generateFetchAccessToken( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Generatefetchaccesstoken + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Generatefetchaccesstoken; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Generatefetchaccesstoken; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://aiplatform.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + '/v1/{+featureView}:generateFetchAccessToken' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['featureView'], + pathParams: ['featureView'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + /** * Gets details of a single FeatureView. * @example @@ -55256,6 +55623,7 @@ export namespace aiplatform_v1 { * // Example response * // { * // "bigQuerySource": {}, + * // "bigtableMetadata": {}, * // "createTime": "my_createTime", * // "etag": "my_etag", * // "featureRegistrySource": {}, @@ -55725,6 +56093,7 @@ export namespace aiplatform_v1 { * // request body parameters * // { * // "bigQuerySource": {}, + * // "bigtableMetadata": {}, * // "createTime": "my_createTime", * // "etag": "my_etag", * // "featureRegistrySource": {}, @@ -56528,6 +56897,18 @@ export namespace aiplatform_v1 { */ requestBody?: Schema$GoogleCloudAiplatformV1FetchFeatureValuesRequest; } + export interface Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Generatefetchaccesstoken + extends StandardParameters { + /** + * FeatureView resource format `projects/{project\}/locations/{location\}/featureOnlineStores/{featureOnlineStore\}/featureViews/{featureView\}` + */ + featureView?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleCloudAiplatformV1GenerateFetchAccessTokenRequest; + } export interface Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Get extends StandardParameters { /** @@ -57315,6 +57696,8 @@ export namespace aiplatform_v1 { * pageSize: 'placeholder-value', * // The standard list page token. * pageToken: 'placeholder-value', + * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + * returnPartialSuccess: 'placeholder-value', * }, * ); * console.log(res.data); @@ -57322,7 +57705,8 @@ export namespace aiplatform_v1 { * // Example response * // { * // "nextPageToken": "my_nextPageToken", - * // "operations": [] + * // "operations": [], + * // "unreachable": [] * // } * } * @@ -57610,6 +57994,10 @@ export namespace aiplatform_v1 { * The standard list page token. */ pageToken?: string; + /** + * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + */ + returnPartialSuccess?: boolean; } export interface Params$Resource$Projects$Locations$Featureonlinestores$Featureviews$Operations$Wait extends StandardParameters { @@ -57948,6 +58336,8 @@ export namespace aiplatform_v1 { * pageSize: 'placeholder-value', * // The standard list page token. * pageToken: 'placeholder-value', + * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + * returnPartialSuccess: 'placeholder-value', * }, * ); * console.log(res.data); @@ -57955,7 +58345,8 @@ export namespace aiplatform_v1 { * // Example response * // { * // "nextPageToken": "my_nextPageToken", - * // "operations": [] + * // "operations": [], + * // "unreachable": [] * // } * } * @@ -58241,6 +58632,10 @@ export namespace aiplatform_v1 { * The standard list page token. */ pageToken?: string; + /** + * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + */ + returnPartialSuccess?: boolean; } export interface Params$Resource$Projects$Locations$Featureonlinestores$Operations$Wait extends StandardParameters { @@ -63913,6 +64308,8 @@ export namespace aiplatform_v1 { * pageSize: 'placeholder-value', * // The standard list page token. * pageToken: 'placeholder-value', + * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + * returnPartialSuccess: 'placeholder-value', * }, * ); * console.log(res.data); @@ -63920,7 +64317,8 @@ export namespace aiplatform_v1 { * // Example response * // { * // "nextPageToken": "my_nextPageToken", - * // "operations": [] + * // "operations": [], + * // "unreachable": [] * // } * } * @@ -64218,6 +64616,10 @@ export namespace aiplatform_v1 { * The standard list page token. */ pageToken?: string; + /** + * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + */ + returnPartialSuccess?: boolean; } export interface Params$Resource$Projects$Locations$Featurestores$Entitytypes$Features$Operations$Wait extends StandardParameters { @@ -64696,6 +65098,8 @@ export namespace aiplatform_v1 { * pageSize: 'placeholder-value', * // The standard list page token. * pageToken: 'placeholder-value', + * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + * returnPartialSuccess: 'placeholder-value', * }, * ); * console.log(res.data); @@ -64703,7 +65107,8 @@ export namespace aiplatform_v1 { * // Example response * // { * // "nextPageToken": "my_nextPageToken", - * // "operations": [] + * // "operations": [], + * // "unreachable": [] * // } * } * @@ -65001,6 +65406,10 @@ export namespace aiplatform_v1 { * The standard list page token. */ pageToken?: string; + /** + * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + */ + returnPartialSuccess?: boolean; } export interface Params$Resource$Projects$Locations$Featurestores$Entitytypes$Operations$Wait extends StandardParameters { @@ -65471,6 +65880,8 @@ export namespace aiplatform_v1 { * pageSize: 'placeholder-value', * // The standard list page token. * pageToken: 'placeholder-value', + * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + * returnPartialSuccess: 'placeholder-value', * }, * ); * console.log(res.data); @@ -65478,7 +65889,8 @@ export namespace aiplatform_v1 { * // Example response * // { * // "nextPageToken": "my_nextPageToken", - * // "operations": [] + * // "operations": [], + * // "unreachable": [] * // } * } * @@ -65775,6 +66187,10 @@ export namespace aiplatform_v1 { * The standard list page token. */ pageToken?: string; + /** + * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + */ + returnPartialSuccess?: boolean; } export interface Params$Resource$Projects$Locations$Featurestores$Operations$Wait extends StandardParameters { @@ -67123,6 +67539,8 @@ export namespace aiplatform_v1 { * pageSize: 'placeholder-value', * // The standard list page token. * pageToken: 'placeholder-value', + * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + * returnPartialSuccess: 'placeholder-value', * }, * ); * console.log(res.data); @@ -67130,7 +67548,8 @@ export namespace aiplatform_v1 { * // Example response * // { * // "nextPageToken": "my_nextPageToken", - * // "operations": [] + * // "operations": [], + * // "unreachable": [] * // } * } * @@ -67428,6 +67847,10 @@ export namespace aiplatform_v1 { * The standard list page token. */ pageToken?: string; + /** + * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + */ + returnPartialSuccess?: boolean; } export interface Params$Resource$Projects$Locations$Hyperparametertuningjobs$Operations$Wait extends StandardParameters { @@ -69643,13 +70066,16 @@ export namespace aiplatform_v1 { * pageSize: 'placeholder-value', * // The standard list page token. * pageToken: 'placeholder-value', + * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + * returnPartialSuccess: 'placeholder-value', * }); * console.log(res.data); * * // Example response * // { * // "nextPageToken": "my_nextPageToken", - * // "operations": [] + * // "operations": [], + * // "unreachable": [] * // } * } * @@ -69945,6 +70371,10 @@ export namespace aiplatform_v1 { * The standard list page token. */ pageToken?: string; + /** + * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + */ + returnPartialSuccess?: boolean; } export interface Params$Resource$Projects$Locations$Indexendpoints$Operations$Wait extends StandardParameters { @@ -71607,13 +72037,16 @@ export namespace aiplatform_v1 { * pageSize: 'placeholder-value', * // The standard list page token. * pageToken: 'placeholder-value', + * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + * returnPartialSuccess: 'placeholder-value', * }); * console.log(res.data); * * // Example response * // { * // "nextPageToken": "my_nextPageToken", - * // "operations": [] + * // "operations": [], + * // "unreachable": [] * // } * } * @@ -71908,6 +72341,10 @@ export namespace aiplatform_v1 { * The standard list page token. */ pageToken?: string; + /** + * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + */ + returnPartialSuccess?: boolean; } export interface Params$Resource$Projects$Locations$Indexes$Operations$Wait extends StandardParameters { @@ -74312,6 +74749,8 @@ export namespace aiplatform_v1 { * pageSize: 'placeholder-value', * // The standard list page token. * pageToken: 'placeholder-value', + * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + * returnPartialSuccess: 'placeholder-value', * }, * ); * console.log(res.data); @@ -74319,7 +74758,8 @@ export namespace aiplatform_v1 { * // Example response * // { * // "nextPageToken": "my_nextPageToken", - * // "operations": [] + * // "operations": [], + * // "unreachable": [] * // } * } * @@ -74617,6 +75057,10 @@ export namespace aiplatform_v1 { * The standard list page token. */ pageToken?: string; + /** + * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + */ + returnPartialSuccess?: boolean; } export interface Params$Resource$Projects$Locations$Metadatastores$Artifacts$Operations$Wait extends StandardParameters { @@ -76835,6 +77279,8 @@ export namespace aiplatform_v1 { * pageSize: 'placeholder-value', * // The standard list page token. * pageToken: 'placeholder-value', + * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + * returnPartialSuccess: 'placeholder-value', * }, * ); * console.log(res.data); @@ -76842,7 +77288,8 @@ export namespace aiplatform_v1 { * // Example response * // { * // "nextPageToken": "my_nextPageToken", - * // "operations": [] + * // "operations": [], + * // "unreachable": [] * // } * } * @@ -77140,6 +77587,10 @@ export namespace aiplatform_v1 { * The standard list page token. */ pageToken?: string; + /** + * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + */ + returnPartialSuccess?: boolean; } export interface Params$Resource$Projects$Locations$Metadatastores$Contexts$Operations$Wait extends StandardParameters { @@ -79027,6 +79478,8 @@ export namespace aiplatform_v1 { * pageSize: 'placeholder-value', * // The standard list page token. * pageToken: 'placeholder-value', + * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + * returnPartialSuccess: 'placeholder-value', * }, * ); * console.log(res.data); @@ -79034,7 +79487,8 @@ export namespace aiplatform_v1 { * // Example response * // { * // "nextPageToken": "my_nextPageToken", - * // "operations": [] + * // "operations": [], + * // "unreachable": [] * // } * } * @@ -79332,6 +79786,10 @@ export namespace aiplatform_v1 { * The standard list page token. */ pageToken?: string; + /** + * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + */ + returnPartialSuccess?: boolean; } export interface Params$Resource$Projects$Locations$Metadatastores$Executions$Operations$Wait extends StandardParameters { @@ -80332,13 +80790,16 @@ export namespace aiplatform_v1 { * pageSize: 'placeholder-value', * // The standard list page token. * pageToken: 'placeholder-value', + * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + * returnPartialSuccess: 'placeholder-value', * }); * console.log(res.data); * * // Example response * // { * // "nextPageToken": "my_nextPageToken", - * // "operations": [] + * // "operations": [], + * // "unreachable": [] * // } * } * @@ -80634,6 +81095,10 @@ export namespace aiplatform_v1 { * The standard list page token. */ pageToken?: string; + /** + * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + */ + returnPartialSuccess?: boolean; } export interface Params$Resource$Projects$Locations$Metadatastores$Operations$Wait extends StandardParameters { @@ -81455,13 +81920,16 @@ export namespace aiplatform_v1 { * pageSize: 'placeholder-value', * // The standard list page token. * pageToken: 'placeholder-value', + * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + * returnPartialSuccess: 'placeholder-value', * }); * console.log(res.data); * * // Example response * // { * // "nextPageToken": "my_nextPageToken", - * // "operations": [] + * // "operations": [], + * // "unreachable": [] * // } * } * @@ -81757,6 +82225,10 @@ export namespace aiplatform_v1 { * The standard list page token. */ pageToken?: string; + /** + * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + */ + returnPartialSuccess?: boolean; } export interface Params$Resource$Projects$Locations$Migratableresources$Operations$Wait extends StandardParameters { @@ -83649,6 +84121,8 @@ export namespace aiplatform_v1 { * pageSize: 'placeholder-value', * // The standard list page token. * pageToken: 'placeholder-value', + * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + * returnPartialSuccess: 'placeholder-value', * }, * ); * console.log(res.data); @@ -83656,7 +84130,8 @@ export namespace aiplatform_v1 { * // Example response * // { * // "nextPageToken": "my_nextPageToken", - * // "operations": [] + * // "operations": [], + * // "unreachable": [] * // } * } * @@ -83954,6 +84429,10 @@ export namespace aiplatform_v1 { * The standard list page token. */ pageToken?: string; + /** + * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + */ + returnPartialSuccess?: boolean; } export interface Params$Resource$Projects$Locations$Modeldeploymentmonitoringjobs$Operations$Wait extends StandardParameters { @@ -87571,13 +88050,16 @@ export namespace aiplatform_v1 { * pageSize: 'placeholder-value', * // The standard list page token. * pageToken: 'placeholder-value', + * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + * returnPartialSuccess: 'placeholder-value', * }); * console.log(res.data); * * // Example response * // { * // "nextPageToken": "my_nextPageToken", - * // "operations": [] + * // "operations": [], + * // "unreachable": [] * // } * } * @@ -87873,6 +88355,10 @@ export namespace aiplatform_v1 { * The standard list page token. */ pageToken?: string; + /** + * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + */ + returnPartialSuccess?: boolean; } export interface Params$Resource$Projects$Locations$Models$Evaluations$Operations$Wait extends StandardParameters { @@ -88858,13 +89344,16 @@ export namespace aiplatform_v1 { * pageSize: 'placeholder-value', * // The standard list page token. * pageToken: 'placeholder-value', + * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + * returnPartialSuccess: 'placeholder-value', * }); * console.log(res.data); * * // Example response * // { * // "nextPageToken": "my_nextPageToken", - * // "operations": [] + * // "operations": [], + * // "unreachable": [] * // } * } * @@ -89159,6 +89648,10 @@ export namespace aiplatform_v1 { * The standard list page token. */ pageToken?: string; + /** + * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + */ + returnPartialSuccess?: boolean; } export interface Params$Resource$Projects$Locations$Models$Operations$Wait extends StandardParameters { @@ -91526,13 +92019,16 @@ export namespace aiplatform_v1 { * pageSize: 'placeholder-value', * // The standard list page token. * pageToken: 'placeholder-value', + * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + * returnPartialSuccess: 'placeholder-value', * }); * console.log(res.data); * * // Example response * // { * // "nextPageToken": "my_nextPageToken", - * // "operations": [] + * // "operations": [], + * // "unreachable": [] * // } * } * @@ -91828,6 +92324,10 @@ export namespace aiplatform_v1 { * The standard list page token. */ pageToken?: string; + /** + * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + */ + returnPartialSuccess?: boolean; } export interface Params$Resource$Projects$Locations$Notebookexecutionjobs$Operations$Wait extends StandardParameters { @@ -93478,13 +93978,16 @@ export namespace aiplatform_v1 { * pageSize: 'placeholder-value', * // The standard list page token. * pageToken: 'placeholder-value', + * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + * returnPartialSuccess: 'placeholder-value', * }); * console.log(res.data); * * // Example response * // { * // "nextPageToken": "my_nextPageToken", - * // "operations": [] + * // "operations": [], + * // "unreachable": [] * // } * } * @@ -93780,6 +94283,10 @@ export namespace aiplatform_v1 { * The standard list page token. */ pageToken?: string; + /** + * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + */ + returnPartialSuccess?: boolean; } export interface Params$Resource$Projects$Locations$Notebookruntimes$Operations$Wait extends StandardParameters { @@ -95669,6 +96176,8 @@ export namespace aiplatform_v1 { * pageSize: 'placeholder-value', * // The standard list page token. * pageToken: 'placeholder-value', + * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + * returnPartialSuccess: 'placeholder-value', * }, * ); * console.log(res.data); @@ -95676,7 +96185,8 @@ export namespace aiplatform_v1 { * // Example response * // { * // "nextPageToken": "my_nextPageToken", - * // "operations": [] + * // "operations": [], + * // "unreachable": [] * // } * } * @@ -95974,6 +96484,10 @@ export namespace aiplatform_v1 { * The standard list page token. */ pageToken?: string; + /** + * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + */ + returnPartialSuccess?: boolean; } export interface Params$Resource$Projects$Locations$Notebookruntimetemplates$Operations$Wait extends StandardParameters { @@ -96438,13 +96952,16 @@ export namespace aiplatform_v1 { * pageSize: 'placeholder-value', * // The standard list page token. * pageToken: 'placeholder-value', + * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + * returnPartialSuccess: 'placeholder-value', * }); * console.log(res.data); * * // Example response * // { * // "nextPageToken": "my_nextPageToken", - * // "operations": [] + * // "operations": [], + * // "unreachable": [] * // } * } * @@ -96737,6 +97254,10 @@ export namespace aiplatform_v1 { * The standard list page token. */ pageToken?: string; + /** + * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + */ + returnPartialSuccess?: boolean; } export interface Params$Resource$Projects$Locations$Operations$Wait extends StandardParameters { @@ -98241,13 +98762,16 @@ export namespace aiplatform_v1 { * pageSize: 'placeholder-value', * // The standard list page token. * pageToken: 'placeholder-value', + * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + * returnPartialSuccess: 'placeholder-value', * }); * console.log(res.data); * * // Example response * // { * // "nextPageToken": "my_nextPageToken", - * // "operations": [] + * // "operations": [], + * // "unreachable": [] * // } * } * @@ -98543,6 +99067,10 @@ export namespace aiplatform_v1 { * The standard list page token. */ pageToken?: string; + /** + * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + */ + returnPartialSuccess?: boolean; } export interface Params$Resource$Projects$Locations$Persistentresources$Operations$Wait extends StandardParameters { @@ -100224,13 +100752,16 @@ export namespace aiplatform_v1 { * pageSize: 'placeholder-value', * // The standard list page token. * pageToken: 'placeholder-value', + * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + * returnPartialSuccess: 'placeholder-value', * }); * console.log(res.data); * * // Example response * // { * // "nextPageToken": "my_nextPageToken", - * // "operations": [] + * // "operations": [], + * // "unreachable": [] * // } * } * @@ -100525,6 +101056,10 @@ export namespace aiplatform_v1 { * The standard list page token. */ pageToken?: string; + /** + * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + */ + returnPartialSuccess?: boolean; } export interface Params$Resource$Projects$Locations$Pipelinejobs$Operations$Wait extends StandardParameters { @@ -103605,13 +104140,16 @@ export namespace aiplatform_v1 { * pageSize: 'placeholder-value', * // The standard list page token. * pageToken: 'placeholder-value', + * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + * returnPartialSuccess: 'placeholder-value', * }); * console.log(res.data); * * // Example response * // { * // "nextPageToken": "my_nextPageToken", - * // "operations": [] + * // "operations": [], + * // "unreachable": [] * // } * } * @@ -103906,6 +104444,10 @@ export namespace aiplatform_v1 { * The standard list page token. */ pageToken?: string; + /** + * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + */ + returnPartialSuccess?: boolean; } export interface Params$Resource$Projects$Locations$Ragcorpora$Operations$Wait extends StandardParameters { @@ -105040,13 +105582,16 @@ export namespace aiplatform_v1 { * pageSize: 'placeholder-value', * // The standard list page token. * pageToken: 'placeholder-value', + * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + * returnPartialSuccess: 'placeholder-value', * }); * console.log(res.data); * * // Example response * // { * // "nextPageToken": "my_nextPageToken", - * // "operations": [] + * // "operations": [], + * // "unreachable": [] * // } * } * @@ -105342,6 +105887,10 @@ export namespace aiplatform_v1 { * The standard list page token. */ pageToken?: string; + /** + * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + */ + returnPartialSuccess?: boolean; } export interface Params$Resource$Projects$Locations$Ragcorpora$Ragfiles$Operations$Wait extends StandardParameters { @@ -105825,13 +106374,16 @@ export namespace aiplatform_v1 { * pageSize: 'placeholder-value', * // The standard list page token. * pageToken: 'placeholder-value', + * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + * returnPartialSuccess: 'placeholder-value', * }); * console.log(res.data); * * // Example response * // { * // "nextPageToken": "my_nextPageToken", - * // "operations": [] + * // "operations": [], + * // "unreachable": [] * // } * } * @@ -106127,6 +106679,10 @@ export namespace aiplatform_v1 { * The standard list page token. */ pageToken?: string; + /** + * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + */ + returnPartialSuccess?: boolean; } export interface Params$Resource$Projects$Locations$Ragengineconfig$Operations$Wait extends StandardParameters { @@ -107777,13 +108333,16 @@ export namespace aiplatform_v1 { * pageSize: 'placeholder-value', * // The standard list page token. * pageToken: 'placeholder-value', + * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + * returnPartialSuccess: 'placeholder-value', * }); * console.log(res.data); * * // Example response * // { * // "nextPageToken": "my_nextPageToken", - * // "operations": [] + * // "operations": [], + * // "unreachable": [] * // } * } * @@ -108079,6 +108638,10 @@ export namespace aiplatform_v1 { * The standard list page token. */ pageToken?: string; + /** + * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + */ + returnPartialSuccess?: boolean; } export interface Params$Resource$Projects$Locations$Reasoningengines$Operations$Wait extends StandardParameters { @@ -109754,13 +110317,16 @@ export namespace aiplatform_v1 { * pageSize: 'placeholder-value', * // The standard list page token. * pageToken: 'placeholder-value', + * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + * returnPartialSuccess: 'placeholder-value', * }); * console.log(res.data); * * // Example response * // { * // "nextPageToken": "my_nextPageToken", - * // "operations": [] + * // "operations": [], + * // "unreachable": [] * // } * } * @@ -110055,6 +110621,10 @@ export namespace aiplatform_v1 { * The standard list page token. */ pageToken?: string; + /** + * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + */ + returnPartialSuccess?: boolean; } export interface Params$Resource$Projects$Locations$Schedules$Operations$Wait extends StandardParameters { @@ -111368,13 +111938,16 @@ export namespace aiplatform_v1 { * pageSize: 'placeholder-value', * // The standard list page token. * pageToken: 'placeholder-value', + * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + * returnPartialSuccess: 'placeholder-value', * }); * console.log(res.data); * * // Example response * // { * // "nextPageToken": "my_nextPageToken", - * // "operations": [] + * // "operations": [], + * // "unreachable": [] * // } * } * @@ -111670,6 +112243,10 @@ export namespace aiplatform_v1 { * The standard list page token. */ pageToken?: string; + /** + * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + */ + returnPartialSuccess?: boolean; } export interface Params$Resource$Projects$Locations$Specialistpools$Operations$Wait extends StandardParameters { @@ -112952,13 +113529,16 @@ export namespace aiplatform_v1 { * pageSize: 'placeholder-value', * // The standard list page token. * pageToken: 'placeholder-value', + * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + * returnPartialSuccess: 'placeholder-value', * }); * console.log(res.data); * * // Example response * // { * // "nextPageToken": "my_nextPageToken", - * // "operations": [] + * // "operations": [], + * // "unreachable": [] * // } * } * @@ -113253,6 +113833,10 @@ export namespace aiplatform_v1 { * The standard list page token. */ pageToken?: string; + /** + * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + */ + returnPartialSuccess?: boolean; } export interface Params$Resource$Projects$Locations$Studies$Operations$Wait extends StandardParameters { @@ -115410,13 +115994,16 @@ export namespace aiplatform_v1 { * pageSize: 'placeholder-value', * // The standard list page token. * pageToken: 'placeholder-value', + * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + * returnPartialSuccess: 'placeholder-value', * }); * console.log(res.data); * * // Example response * // { * // "nextPageToken": "my_nextPageToken", - * // "operations": [] + * // "operations": [], + * // "unreachable": [] * // } * } * @@ -115712,6 +116299,10 @@ export namespace aiplatform_v1 { * The standard list page token. */ pageToken?: string; + /** + * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + */ + returnPartialSuccess?: boolean; } export interface Params$Resource$Projects$Locations$Studies$Trials$Operations$Wait extends StandardParameters { @@ -118774,6 +119365,8 @@ export namespace aiplatform_v1 { * pageSize: 'placeholder-value', * // The standard list page token. * pageToken: 'placeholder-value', + * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + * returnPartialSuccess: 'placeholder-value', * }, * ); * console.log(res.data); @@ -118781,7 +119374,8 @@ export namespace aiplatform_v1 { * // Example response * // { * // "nextPageToken": "my_nextPageToken", - * // "operations": [] + * // "operations": [], + * // "unreachable": [] * // } * } * @@ -119079,6 +119673,10 @@ export namespace aiplatform_v1 { * The standard list page token. */ pageToken?: string; + /** + * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + */ + returnPartialSuccess?: boolean; } export interface Params$Resource$Projects$Locations$Tensorboards$Experiments$Operations$Wait extends StandardParameters { @@ -120786,6 +121384,8 @@ export namespace aiplatform_v1 { * pageSize: 'placeholder-value', * // The standard list page token. * pageToken: 'placeholder-value', + * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + * returnPartialSuccess: 'placeholder-value', * }, * ); * console.log(res.data); @@ -120793,7 +121393,8 @@ export namespace aiplatform_v1 { * // Example response * // { * // "nextPageToken": "my_nextPageToken", - * // "operations": [] + * // "operations": [], + * // "unreachable": [] * // } * } * @@ -121091,6 +121692,10 @@ export namespace aiplatform_v1 { * The standard list page token. */ pageToken?: string; + /** + * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + */ + returnPartialSuccess?: boolean; } export interface Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Operations$Wait extends StandardParameters { @@ -123001,6 +123606,8 @@ export namespace aiplatform_v1 { * pageSize: 'placeholder-value', * // The standard list page token. * pageToken: 'placeholder-value', + * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + * returnPartialSuccess: 'placeholder-value', * }, * ); * console.log(res.data); @@ -123008,7 +123615,8 @@ export namespace aiplatform_v1 { * // Example response * // { * // "nextPageToken": "my_nextPageToken", - * // "operations": [] + * // "operations": [], + * // "unreachable": [] * // } * } * @@ -123306,6 +123914,10 @@ export namespace aiplatform_v1 { * The standard list page token. */ pageToken?: string; + /** + * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + */ + returnPartialSuccess?: boolean; } export interface Params$Resource$Projects$Locations$Tensorboards$Experiments$Runs$Timeseries$Operations$Wait extends StandardParameters { @@ -123775,13 +124387,16 @@ export namespace aiplatform_v1 { * pageSize: 'placeholder-value', * // The standard list page token. * pageToken: 'placeholder-value', + * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + * returnPartialSuccess: 'placeholder-value', * }); * console.log(res.data); * * // Example response * // { * // "nextPageToken": "my_nextPageToken", - * // "operations": [] + * // "operations": [], + * // "unreachable": [] * // } * } * @@ -124076,6 +124691,10 @@ export namespace aiplatform_v1 { * The standard list page token. */ pageToken?: string; + /** + * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + */ + returnPartialSuccess?: boolean; } export interface Params$Resource$Projects$Locations$Tensorboards$Operations$Wait extends StandardParameters { @@ -125408,13 +126027,16 @@ export namespace aiplatform_v1 { * pageSize: 'placeholder-value', * // The standard list page token. * pageToken: 'placeholder-value', + * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + * returnPartialSuccess: 'placeholder-value', * }); * console.log(res.data); * * // Example response * // { * // "nextPageToken": "my_nextPageToken", - * // "operations": [] + * // "operations": [], + * // "unreachable": [] * // } * } * @@ -125710,6 +126332,10 @@ export namespace aiplatform_v1 { * The standard list page token. */ pageToken?: string; + /** + * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + */ + returnPartialSuccess?: boolean; } export interface Params$Resource$Projects$Locations$Trainingpipelines$Operations$Wait extends StandardParameters { @@ -125918,6 +126544,7 @@ export namespace aiplatform_v1 { * // "experiment": "my_experiment", * // "labels": {}, * // "name": "my_name", + * // "preTunedModel": {}, * // "serviceAccount": "my_serviceAccount", * // "startTime": "my_startTime", * // "state": "my_state", @@ -125942,6 +126569,7 @@ export namespace aiplatform_v1 { * // "experiment": "my_experiment", * // "labels": {}, * // "name": "my_name", + * // "preTunedModel": {}, * // "serviceAccount": "my_serviceAccount", * // "startTime": "my_startTime", * // "state": "my_state", @@ -126105,6 +126733,7 @@ export namespace aiplatform_v1 { * // "experiment": "my_experiment", * // "labels": {}, * // "name": "my_name", + * // "preTunedModel": {}, * // "serviceAccount": "my_serviceAccount", * // "startTime": "my_startTime", * // "state": "my_state", @@ -127046,13 +127675,16 @@ export namespace aiplatform_v1 { * pageSize: 'placeholder-value', * // The standard list page token. * pageToken: 'placeholder-value', + * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + * returnPartialSuccess: 'placeholder-value', * }); * console.log(res.data); * * // Example response * // { * // "nextPageToken": "my_nextPageToken", - * // "operations": [] + * // "operations": [], + * // "unreachable": [] * // } * } * @@ -127202,6 +127834,10 @@ export namespace aiplatform_v1 { * The standard list page token. */ pageToken?: string; + /** + * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + */ + returnPartialSuccess?: boolean; } export class Resource$Publishers { diff --git a/src/apis/alloydb/v1alpha.ts b/src/apis/alloydb/v1alpha.ts index e8a9302aa27..38cce210011 100644 --- a/src/apis/alloydb/v1alpha.ts +++ b/src/apis/alloydb/v1alpha.ts @@ -512,6 +512,10 @@ export namespace alloydb_v1alpha { * Optional. The maintenance update policy determines when to allow or deny updates. */ maintenanceUpdatePolicy?: Schema$MaintenanceUpdatePolicy; + /** + * Input only. Policy to use to automatically select the maintenance version to which to update the cluster's instances. + */ + maintenanceVersionSelectionPolicy?: string | null; /** * Output only. Cluster created via DMS migration. */ @@ -4171,6 +4175,7 @@ export namespace alloydb_v1alpha { * // "labels": {}, * // "maintenanceSchedule": {}, * // "maintenanceUpdatePolicy": {}, + * // "maintenanceVersionSelectionPolicy": "my_maintenanceVersionSelectionPolicy", * // "migrationSource": {}, * // "name": "my_name", * // "network": "my_network", @@ -4364,6 +4369,7 @@ export namespace alloydb_v1alpha { * // "labels": {}, * // "maintenanceSchedule": {}, * // "maintenanceUpdatePolicy": {}, + * // "maintenanceVersionSelectionPolicy": "my_maintenanceVersionSelectionPolicy", * // "migrationSource": {}, * // "name": "my_name", * // "network": "my_network", @@ -4851,6 +4857,7 @@ export namespace alloydb_v1alpha { * // "labels": {}, * // "maintenanceSchedule": {}, * // "maintenanceUpdatePolicy": {}, + * // "maintenanceVersionSelectionPolicy": "my_maintenanceVersionSelectionPolicy", * // "migrationSource": {}, * // "name": "my_name", * // "network": "my_network", @@ -5333,6 +5340,7 @@ export namespace alloydb_v1alpha { * // "labels": {}, * // "maintenanceSchedule": {}, * // "maintenanceUpdatePolicy": {}, + * // "maintenanceVersionSelectionPolicy": "my_maintenanceVersionSelectionPolicy", * // "migrationSource": {}, * // "name": "my_name", * // "network": "my_network", diff --git a/src/apis/alloydb/v1beta.ts b/src/apis/alloydb/v1beta.ts index 67c4a0656b9..4fa06d2b765 100644 --- a/src/apis/alloydb/v1beta.ts +++ b/src/apis/alloydb/v1beta.ts @@ -504,6 +504,10 @@ export namespace alloydb_v1beta { * Optional. The maintenance update policy determines when to allow or deny updates. */ maintenanceUpdatePolicy?: Schema$MaintenanceUpdatePolicy; + /** + * Input only. Policy to use to automatically select the maintenance version to which to update the cluster's instances. + */ + maintenanceVersionSelectionPolicy?: string | null; /** * Output only. Cluster created via DMS migration. */ @@ -4152,6 +4156,7 @@ export namespace alloydb_v1beta { * // "labels": {}, * // "maintenanceSchedule": {}, * // "maintenanceUpdatePolicy": {}, + * // "maintenanceVersionSelectionPolicy": "my_maintenanceVersionSelectionPolicy", * // "migrationSource": {}, * // "name": "my_name", * // "network": "my_network", @@ -4344,6 +4349,7 @@ export namespace alloydb_v1beta { * // "labels": {}, * // "maintenanceSchedule": {}, * // "maintenanceUpdatePolicy": {}, + * // "maintenanceVersionSelectionPolicy": "my_maintenanceVersionSelectionPolicy", * // "migrationSource": {}, * // "name": "my_name", * // "network": "my_network", @@ -4830,6 +4836,7 @@ export namespace alloydb_v1beta { * // "labels": {}, * // "maintenanceSchedule": {}, * // "maintenanceUpdatePolicy": {}, + * // "maintenanceVersionSelectionPolicy": "my_maintenanceVersionSelectionPolicy", * // "migrationSource": {}, * // "name": "my_name", * // "network": "my_network", @@ -5311,6 +5318,7 @@ export namespace alloydb_v1beta { * // "labels": {}, * // "maintenanceSchedule": {}, * // "maintenanceUpdatePolicy": {}, + * // "maintenanceVersionSelectionPolicy": "my_maintenanceVersionSelectionPolicy", * // "migrationSource": {}, * // "name": "my_name", * // "network": "my_network", diff --git a/src/apis/androidmanagement/v1.ts b/src/apis/androidmanagement/v1.ts index 8f5b04ba173..9337ee8e846 100644 --- a/src/apis/androidmanagement/v1.ts +++ b/src/apis/androidmanagement/v1.ts @@ -175,7 +175,7 @@ export namespace androidmanagement_v1 { */ googlePlayProtectVerifyApps?: string | null; /** - * Optional. Controls Memory Tagging Extension (MTE) (https://source.android.com/docs/security/test/memory-safety/arm-mte) on the device. The device needs to be rebooted to apply changes to the MTE policy. + * Optional. Controls Memory Tagging Extension (MTE) (https://source.android.com/docs/security/test/memory-safety/arm-mte) on the device. The device needs to be rebooted to apply changes to the MTE policy. On Android 15 and above, a NonComplianceDetail with PENDING is reported if the policy change is pending a device reboot. */ mtePolicy?: string | null; /** diff --git a/src/apis/bigquerydatapolicy/index.ts b/src/apis/bigquerydatapolicy/index.ts index 7665a38cb5b..8e72e38f722 100644 --- a/src/apis/bigquerydatapolicy/index.ts +++ b/src/apis/bigquerydatapolicy/index.ts @@ -15,9 +15,11 @@ import {AuthPlus, getAPI, GoogleConfigurable} from 'googleapis-common'; import {bigquerydatapolicy_v1} from './v1'; +import {bigquerydatapolicy_v2} from './v2'; export const VERSIONS = { v1: bigquerydatapolicy_v1.Bigquerydatapolicy, + v2: bigquerydatapolicy_v2.Bigquerydatapolicy, }; export function bigquerydatapolicy( @@ -26,11 +28,23 @@ export function bigquerydatapolicy( export function bigquerydatapolicy( options: bigquerydatapolicy_v1.Options ): bigquerydatapolicy_v1.Bigquerydatapolicy; +export function bigquerydatapolicy( + version: 'v2' +): bigquerydatapolicy_v2.Bigquerydatapolicy; +export function bigquerydatapolicy( + options: bigquerydatapolicy_v2.Options +): bigquerydatapolicy_v2.Bigquerydatapolicy; export function bigquerydatapolicy< - T = bigquerydatapolicy_v1.Bigquerydatapolicy, + T = + | bigquerydatapolicy_v1.Bigquerydatapolicy + | bigquerydatapolicy_v2.Bigquerydatapolicy, >( this: GoogleConfigurable, - versionOrOptions: 'v1' | bigquerydatapolicy_v1.Options + versionOrOptions: + | 'v1' + | bigquerydatapolicy_v1.Options + | 'v2' + | bigquerydatapolicy_v2.Options ) { return getAPI('bigquerydatapolicy', versionOrOptions, VERSIONS, this); } @@ -38,6 +52,7 @@ export function bigquerydatapolicy< const auth = new AuthPlus(); export {auth}; export {bigquerydatapolicy_v1}; +export {bigquerydatapolicy_v2}; export { AuthPlus, GlobalOptions, diff --git a/src/apis/bigquerydatapolicy/v2.ts b/src/apis/bigquerydatapolicy/v2.ts new file mode 100644 index 00000000000..eaec2e9b836 --- /dev/null +++ b/src/apis/bigquerydatapolicy/v2.ts @@ -0,0 +1,2051 @@ +// Copyright 2020 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +/* eslint-disable @typescript-eslint/no-explicit-any */ +/* eslint-disable @typescript-eslint/no-unused-vars */ +/* eslint-disable @typescript-eslint/no-empty-interface */ +/* eslint-disable @typescript-eslint/no-namespace */ +/* eslint-disable no-irregular-whitespace */ + +import { + OAuth2Client, + JWT, + Compute, + UserRefreshClient, + BaseExternalAccountClient, + GaxiosResponseWithHTTP2, + GoogleConfigurable, + createAPIRequest, + MethodOptions, + StreamMethodOptions, + GlobalOptions, + GoogleAuth, + BodyResponseCallback, + APIRequestContext, +} from 'googleapis-common'; +import {Readable} from 'stream'; + +export namespace bigquerydatapolicy_v2 { + export interface Options extends GlobalOptions { + version: 'v2'; + } + + interface StandardParameters { + /** + * Auth client or API Key for the request + */ + auth?: + | string + | OAuth2Client + | JWT + | Compute + | UserRefreshClient + | BaseExternalAccountClient + | GoogleAuth; + + /** + * V1 error format. + */ + '$.xgafv'?: string; + /** + * OAuth access token. + */ + access_token?: string; + /** + * Data format for response. + */ + alt?: string; + /** + * JSONP + */ + callback?: string; + /** + * Selector specifying which fields to include in a partial response. + */ + fields?: string; + /** + * API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. + */ + key?: string; + /** + * OAuth 2.0 token for the current user. + */ + oauth_token?: string; + /** + * Returns response with indentations and line breaks. + */ + prettyPrint?: boolean; + /** + * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. + */ + quotaUser?: string; + /** + * Legacy upload protocol for media (e.g. "media", "multipart"). + */ + uploadType?: string; + /** + * Upload protocol for media (e.g. "raw", "multipart"). + */ + upload_protocol?: string; + } + + /** + * BigQuery Data Policy API + * + * Allows users to manage BigQuery data policies. + * + * @example + * ```js + * const {google} = require('googleapis'); + * const bigquerydatapolicy = google.bigquerydatapolicy('v2'); + * ``` + */ + export class Bigquerydatapolicy { + context: APIRequestContext; + projects: Resource$Projects; + + constructor(options: GlobalOptions, google?: GoogleConfigurable) { + this.context = { + _options: options || {}, + google, + }; + + this.projects = new Resource$Projects(this.context); + } + } + + /** + * Request message for the AddGrantees method. + */ + export interface Schema$AddGranteesRequest { + /** + * Required. IAM principal that should be granted Fine Grained Access to the underlying data goverened by the data policy. The target data policy is determined by the `data_policy` field. Uses the [IAM V2 principal syntax](https://cloud.google.com/iam/docs/principal-identifiers#v2). Supported principal types: * User * Group * Service account + */ + grantees?: string[] | null; + } + /** + * Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] \}, { "log_type": "DATA_WRITE" \}, { "log_type": "ADMIN_READ" \} ] \}, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" \}, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] \} ] \} ] \} For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging. + */ + export interface Schema$AuditConfig { + /** + * The configuration for logging of each type of permission. + */ + auditLogConfigs?: Schema$AuditLogConfig[]; + /** + * Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services. + */ + service?: string | null; + } + /** + * Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] \}, { "log_type": "DATA_WRITE" \} ] \} This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. + */ + export interface Schema$AuditLogConfig { + /** + * Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. + */ + exemptedMembers?: string[] | null; + /** + * The log type that this config enables. + */ + logType?: string | null; + } + /** + * Associates `members`, or principals, with a `role`. + */ + export interface Schema$Binding { + /** + * The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + */ + condition?: Schema$Expr; + /** + * Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid\}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid\}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid\}.svc.id.goog[{namespace\}/{kubernetes-sa\}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid\}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain\}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/subject/{subject_attribute_value\}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/group/{group_id\}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/attribute.{attribute_name\}/{attribute_value\}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/x`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/subject/{subject_attribute_value\}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/group/{group_id\}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/attribute.{attribute_name\}/{attribute_value\}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number\}/locations/global/workloadIdentityPools/{pool_id\}/x`: All identities in a workload identity pool. * `deleted:user:{emailid\}?uid={uniqueid\}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid\}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid\}?uid={uniqueid\}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid\}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid\}?uid={uniqueid\}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid\}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id\}/subject/{subject_attribute_value\}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`. + */ + members?: string[] | null; + /** + * Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles). + */ + role?: string | null; + } + /** + * Request message for the CreateDataPolicy method. + */ + export interface Schema$CreateDataPolicyRequest { + /** + * Required. The data policy to create. The `name` field does not need to be provided for the data policy creation. + */ + dataPolicy?: Schema$DataPolicy; + /** + * Required. User-assigned (human readable) ID of the data policy that needs to be unique within a project. Used as {data_policy_id\} in part of the resource name. + */ + dataPolicyId?: string | null; + } + /** + * The policy used to specify data masking rule. + */ + export interface Schema$DataMaskingPolicy { + /** + * Optional. A predefined masking expression. + */ + predefinedExpression?: string | null; + /** + * Optional. The name of the BigQuery routine that contains the custom masking routine, in the format of `projects/{project_number\}/datasets/{dataset_id\}/routines/{routine_id\}`. + */ + routine?: string | null; + } + /** + * Represents the label-policy binding. + */ + export interface Schema$DataPolicy { + /** + * Optional. The data masking policy that specifies the data masking rule to use. It must be set if the data policy type is DATA_MASKING_POLICY. + */ + dataMaskingPolicy?: Schema$DataMaskingPolicy; + /** + * Output only. User-assigned (human readable) ID of the data policy that needs to be unique within a project. Used as {data_policy_id\} in part of the resource name. + */ + dataPolicyId?: string | null; + /** + * Required. Type of data policy. + */ + dataPolicyType?: string | null; + /** + * The etag for this Data Policy. This field is used for UpdateDataPolicy calls. If Data Policy exists, this field is required and must match the server's etag. It will also be populated in the response of GetDataPolicy, CreateDataPolicy, and UpdateDataPolicy calls. + */ + etag?: string | null; + /** + * Optional. The list of IAM principals that have Fine Grained Access to the underlying data goverened by this data policy. Uses the [IAM V2 principal syntax](https://cloud.google.com/iam/docs/principal-identifiers#v2) Only supports principal types users, groups, serviceaccounts, cloudidentity. This field is supported in V2 Data Policy only. In case of V1 data policies (i.e. verion = 1 and policy_tag is set), this field is not populated. + */ + grantees?: string[] | null; + /** + * Identifier. Resource name of this data policy, in the format of `projects/{project_number\}/locations/{location_id\}/dataPolicies/{data_policy_id\}`. + */ + name?: string | null; + /** + * Output only. Policy tag resource name, in the format of `projects/{project_number\}/locations/{location_id\}/taxonomies/{taxonomy_id\}/policyTags/{policyTag_id\}`. policy_tag is supported only for V1 data policies. + */ + policyTag?: string | null; + /** + * Output only. The version of the Data Policy resource. + */ + version?: string | null; + } + /** + * A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \} + */ + export interface Schema$Empty {} + /** + * Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. + */ + export interface Schema$Expr { + /** + * Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. + */ + description?: string | null; + /** + * Textual representation of an expression in Common Expression Language syntax. + */ + expression?: string | null; + /** + * Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file. + */ + location?: string | null; + /** + * Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression. + */ + title?: string | null; + } + /** + * Request message for `GetIamPolicy` method. + */ + export interface Schema$GetIamPolicyRequest { + /** + * OPTIONAL: A `GetPolicyOptions` object for specifying options to `GetIamPolicy`. + */ + options?: Schema$GetPolicyOptions; + } + /** + * Encapsulates settings provided to GetIamPolicy. + */ + export interface Schema$GetPolicyOptions { + /** + * Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + */ + requestedPolicyVersion?: number | null; + } + /** + * Response message for the ListDataPolicies method. + */ + export interface Schema$ListDataPoliciesResponse { + /** + * Data policies that belong to the requested project. + */ + dataPolicies?: Schema$DataPolicy[]; + /** + * Token used to retrieve the next page of results, or empty if there are no more results. + */ + nextPageToken?: string | null; + } + /** + * An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com" ] \}, { "role": "roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" ], "condition": { "title": "expirable access", "description": "Does not grant access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", \} \} ], "etag": "BwWWja0YfJA=", "version": 3 \} ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/). + */ + export interface Schema$Policy { + /** + * Specifies cloud audit logging configuration for this policy. + */ + auditConfigs?: Schema$AuditConfig[]; + /** + * Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. + */ + bindings?: Schema$Binding[]; + /** + * `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. + */ + etag?: string | null; + /** + * Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + */ + version?: number | null; + } + /** + * Request message for the RemoveGrantees method. + */ + export interface Schema$RemoveGranteesRequest { + /** + * Required. IAM principal that should be revoked from Fine Grained Access to the underlying data goverened by the data policy. The target data policy is determined by the `data_policy` field. Uses the [IAM V2 principal syntax](https://cloud.google.com/iam/docs/principal-identifiers#v2). Supported principal types: * User * Group * Service account + */ + grantees?: string[] | null; + } + /** + * Request message for `SetIamPolicy` method. + */ + export interface Schema$SetIamPolicyRequest { + /** + * REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them. + */ + policy?: Schema$Policy; + /** + * OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: "bindings, etag"` + */ + updateMask?: string | null; + } + /** + * Request message for `TestIamPermissions` method. + */ + export interface Schema$TestIamPermissionsRequest { + /** + * The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). + */ + permissions?: string[] | null; + } + /** + * Response message for `TestIamPermissions` method. + */ + export interface Schema$TestIamPermissionsResponse { + /** + * A subset of `TestPermissionsRequest.permissions` that the caller is allowed. + */ + permissions?: string[] | null; + } + + export class Resource$Projects { + context: APIRequestContext; + locations: Resource$Projects$Locations; + constructor(context: APIRequestContext) { + this.context = context; + this.locations = new Resource$Projects$Locations(this.context); + } + } + + export class Resource$Projects$Locations { + context: APIRequestContext; + dataPolicies: Resource$Projects$Locations$Datapolicies; + constructor(context: APIRequestContext) { + this.context = context; + this.dataPolicies = new Resource$Projects$Locations$Datapolicies( + this.context + ); + } + } + + export class Resource$Projects$Locations$Datapolicies { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Adds new grantees to a data policy. The new grantees will be added to the existing grantees. If the request contains a duplicate grantee, the grantee will be ignored. If the request contains a grantee that already exists, the grantee will be ignored. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/bigquerydatapolicy.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const bigquerydatapolicy = google.bigquerydatapolicy('v2'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: [ + * 'https://www.googleapis.com/auth/bigquery', + * 'https://www.googleapis.com/auth/cloud-platform', + * ], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await bigquerydatapolicy.projects.locations.dataPolicies.addGrantees({ + * // Required. Resource name of this data policy, in the format of `projects/{project_number\}/locations/{location_id\}/dataPolicies/{data_policy_id\}`. + * dataPolicy: + * 'projects/my-project/locations/my-location/dataPolicies/my-dataPolicie', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "grantees": [] + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "dataMaskingPolicy": {}, + * // "dataPolicyId": "my_dataPolicyId", + * // "dataPolicyType": "my_dataPolicyType", + * // "etag": "my_etag", + * // "grantees": [], + * // "name": "my_name", + * // "policyTag": "my_policyTag", + * // "version": "my_version" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + addGrantees( + params: Params$Resource$Projects$Locations$Datapolicies$Addgrantees, + options: StreamMethodOptions + ): Promise>; + addGrantees( + params?: Params$Resource$Projects$Locations$Datapolicies$Addgrantees, + options?: MethodOptions + ): Promise>; + addGrantees( + params: Params$Resource$Projects$Locations$Datapolicies$Addgrantees, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + addGrantees( + params: Params$Resource$Projects$Locations$Datapolicies$Addgrantees, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + addGrantees( + params: Params$Resource$Projects$Locations$Datapolicies$Addgrantees, + callback: BodyResponseCallback + ): void; + addGrantees(callback: BodyResponseCallback): void; + addGrantees( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Datapolicies$Addgrantees + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Datapolicies$Addgrantees; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Datapolicies$Addgrantees; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://bigquerydatapolicy.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v2/{+dataPolicy}:addGrantees').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['dataPolicy'], + pathParams: ['dataPolicy'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Creates a new data policy under a project with the given `data_policy_id` (used as the display name), and data policy type. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/bigquerydatapolicy.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const bigquerydatapolicy = google.bigquerydatapolicy('v2'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: [ + * 'https://www.googleapis.com/auth/bigquery', + * 'https://www.googleapis.com/auth/cloud-platform', + * ], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await bigquerydatapolicy.projects.locations.dataPolicies.create({ + * // Required. Resource name of the project that the data policy will belong to. The format is `projects/{project_number\}/locations/{location_id\}`. + * parent: 'projects/my-project/locations/my-location', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "dataPolicy": {}, + * // "dataPolicyId": "my_dataPolicyId" + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "dataMaskingPolicy": {}, + * // "dataPolicyId": "my_dataPolicyId", + * // "dataPolicyType": "my_dataPolicyType", + * // "etag": "my_etag", + * // "grantees": [], + * // "name": "my_name", + * // "policyTag": "my_policyTag", + * // "version": "my_version" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + create( + params: Params$Resource$Projects$Locations$Datapolicies$Create, + options: StreamMethodOptions + ): Promise>; + create( + params?: Params$Resource$Projects$Locations$Datapolicies$Create, + options?: MethodOptions + ): Promise>; + create( + params: Params$Resource$Projects$Locations$Datapolicies$Create, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Datapolicies$Create, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + create( + params: Params$Resource$Projects$Locations$Datapolicies$Create, + callback: BodyResponseCallback + ): void; + create(callback: BodyResponseCallback): void; + create( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Datapolicies$Create + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Datapolicies$Create; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Datapolicies$Create; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://bigquerydatapolicy.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v2/{+parent}/dataPolicies').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Deletes the data policy specified by its resource name. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/bigquerydatapolicy.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const bigquerydatapolicy = google.bigquerydatapolicy('v2'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: [ + * 'https://www.googleapis.com/auth/bigquery', + * 'https://www.googleapis.com/auth/cloud-platform', + * ], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await bigquerydatapolicy.projects.locations.dataPolicies.delete({ + * // Required. Resource name of the data policy to delete. Format is `projects/{project_number\}/locations/{location_id\}/dataPolicies/{id\}`. + * name: 'projects/my-project/locations/my-location/dataPolicies/my-dataPolicie', + * }); + * console.log(res.data); + * + * // Example response + * // {} + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + delete( + params: Params$Resource$Projects$Locations$Datapolicies$Delete, + options: StreamMethodOptions + ): Promise>; + delete( + params?: Params$Resource$Projects$Locations$Datapolicies$Delete, + options?: MethodOptions + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Datapolicies$Delete, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Datapolicies$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + delete( + params: Params$Resource$Projects$Locations$Datapolicies$Delete, + callback: BodyResponseCallback + ): void; + delete(callback: BodyResponseCallback): void; + delete( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Datapolicies$Delete + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Datapolicies$Delete; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Datapolicies$Delete; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://bigquerydatapolicy.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Gets the data policy specified by its resource name. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/bigquerydatapolicy.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const bigquerydatapolicy = google.bigquerydatapolicy('v2'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: [ + * 'https://www.googleapis.com/auth/bigquery', + * 'https://www.googleapis.com/auth/cloud-platform', + * ], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await bigquerydatapolicy.projects.locations.dataPolicies.get({ + * // Required. Resource name of the requested data policy. Format is `projects/{project_number\}/locations/{location_id\}/dataPolicies/{id\}`. + * name: 'projects/my-project/locations/my-location/dataPolicies/my-dataPolicie', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "dataMaskingPolicy": {}, + * // "dataPolicyId": "my_dataPolicyId", + * // "dataPolicyType": "my_dataPolicyType", + * // "etag": "my_etag", + * // "grantees": [], + * // "name": "my_name", + * // "policyTag": "my_policyTag", + * // "version": "my_version" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + get( + params: Params$Resource$Projects$Locations$Datapolicies$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Projects$Locations$Datapolicies$Get, + options?: MethodOptions + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Datapolicies$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Datapolicies$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Projects$Locations$Datapolicies$Get, + callback: BodyResponseCallback + ): void; + get(callback: BodyResponseCallback): void; + get( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Datapolicies$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Datapolicies$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Datapolicies$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://bigquerydatapolicy.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Gets the IAM policy for the specified data policy. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/bigquerydatapolicy.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const bigquerydatapolicy = google.bigquerydatapolicy('v2'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: [ + * 'https://www.googleapis.com/auth/bigquery', + * 'https://www.googleapis.com/auth/cloud-platform', + * ], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await bigquerydatapolicy.projects.locations.dataPolicies.getIamPolicy({ + * // REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + * resource: + * 'projects/my-project/locations/my-location/dataPolicies/my-dataPolicie', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "options": {} + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "auditConfigs": [], + * // "bindings": [], + * // "etag": "my_etag", + * // "version": 0 + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + getIamPolicy( + params: Params$Resource$Projects$Locations$Datapolicies$Getiampolicy, + options: StreamMethodOptions + ): Promise>; + getIamPolicy( + params?: Params$Resource$Projects$Locations$Datapolicies$Getiampolicy, + options?: MethodOptions + ): Promise>; + getIamPolicy( + params: Params$Resource$Projects$Locations$Datapolicies$Getiampolicy, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + getIamPolicy( + params: Params$Resource$Projects$Locations$Datapolicies$Getiampolicy, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + getIamPolicy( + params: Params$Resource$Projects$Locations$Datapolicies$Getiampolicy, + callback: BodyResponseCallback + ): void; + getIamPolicy(callback: BodyResponseCallback): void; + getIamPolicy( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Datapolicies$Getiampolicy + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Datapolicies$Getiampolicy; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Datapolicies$Getiampolicy; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://bigquerydatapolicy.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v2/{+resource}:getIamPolicy').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * List all of the data policies in the specified parent project. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/bigquerydatapolicy.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const bigquerydatapolicy = google.bigquerydatapolicy('v2'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: [ + * 'https://www.googleapis.com/auth/bigquery', + * 'https://www.googleapis.com/auth/cloud-platform', + * ], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await bigquerydatapolicy.projects.locations.dataPolicies.list({ + * // Optional. Filters the data policies by policy tags that they are associated with. Currently filter only supports "policy_tag" based filtering and OR based predicates. Sample filter can be "policy_tag: projects/1/locations/us/taxonomies/2/policyTags/3". You may also use wildcard such as "policy_tag: projects/1/locations/us/taxonomies/2*". Please note that OR predicates cannot be used with wildcard filters. + * filter: 'placeholder-value', + * // Optional. The maximum number of data policies to return. Must be a value between 1 and 1000. If not set, defaults to 50. + * pageSize: 'placeholder-value', + * // Optional. The `nextPageToken` value returned from a previous list request, if any. If not set, defaults to an empty string. + * pageToken: 'placeholder-value', + * // Required. Resource name of the project for which to list data policies. Format is `projects/{project_number\}/locations/{location_id\}`. + * parent: 'projects/my-project/locations/my-location', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "dataPolicies": [], + * // "nextPageToken": "my_nextPageToken" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + list( + params: Params$Resource$Projects$Locations$Datapolicies$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Projects$Locations$Datapolicies$List, + options?: MethodOptions + ): Promise>; + list( + params: Params$Resource$Projects$Locations$Datapolicies$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Datapolicies$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Projects$Locations$Datapolicies$List, + callback: BodyResponseCallback + ): void; + list(callback: BodyResponseCallback): void; + list( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Datapolicies$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Datapolicies$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Datapolicies$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://bigquerydatapolicy.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v2/{+parent}/dataPolicies').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Updates the metadata for an existing data policy. The target data policy can be specified by the resource name. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/bigquerydatapolicy.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const bigquerydatapolicy = google.bigquerydatapolicy('v2'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: [ + * 'https://www.googleapis.com/auth/bigquery', + * 'https://www.googleapis.com/auth/cloud-platform', + * ], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await bigquerydatapolicy.projects.locations.dataPolicies.patch({ + * // Optional. If set to true, and the data policy is not found, a new data policy will be created. In this situation, update_mask is ignored. + * allowMissing: 'placeholder-value', + * // Identifier. Resource name of this data policy, in the format of `projects/{project_number\}/locations/{location_id\}/dataPolicies/{data_policy_id\}`. + * name: 'projects/my-project/locations/my-location/dataPolicies/my-dataPolicie', + * // Optional. The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If not set, defaults to all of the fields that are allowed to update. Updates to the `name` and `dataPolicyId` fields are not allowed. + * updateMask: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "dataMaskingPolicy": {}, + * // "dataPolicyId": "my_dataPolicyId", + * // "dataPolicyType": "my_dataPolicyType", + * // "etag": "my_etag", + * // "grantees": [], + * // "name": "my_name", + * // "policyTag": "my_policyTag", + * // "version": "my_version" + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "dataMaskingPolicy": {}, + * // "dataPolicyId": "my_dataPolicyId", + * // "dataPolicyType": "my_dataPolicyType", + * // "etag": "my_etag", + * // "grantees": [], + * // "name": "my_name", + * // "policyTag": "my_policyTag", + * // "version": "my_version" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + patch( + params: Params$Resource$Projects$Locations$Datapolicies$Patch, + options: StreamMethodOptions + ): Promise>; + patch( + params?: Params$Resource$Projects$Locations$Datapolicies$Patch, + options?: MethodOptions + ): Promise>; + patch( + params: Params$Resource$Projects$Locations$Datapolicies$Patch, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Datapolicies$Patch, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Projects$Locations$Datapolicies$Patch, + callback: BodyResponseCallback + ): void; + patch(callback: BodyResponseCallback): void; + patch( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Datapolicies$Patch + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Datapolicies$Patch; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Datapolicies$Patch; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://bigquerydatapolicy.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Removes grantees from a data policy. The grantees will be removed from the existing grantees. If the request contains a grantee that does not exist, the grantee will be ignored. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/bigquerydatapolicy.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const bigquerydatapolicy = google.bigquerydatapolicy('v2'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: [ + * 'https://www.googleapis.com/auth/bigquery', + * 'https://www.googleapis.com/auth/cloud-platform', + * ], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await bigquerydatapolicy.projects.locations.dataPolicies.removeGrantees({ + * // Required. Resource name of this data policy, in the format of `projects/{project_number\}/locations/{location_id\}/dataPolicies/{data_policy_id\}`. + * dataPolicy: + * 'projects/my-project/locations/my-location/dataPolicies/my-dataPolicie', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "grantees": [] + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "dataMaskingPolicy": {}, + * // "dataPolicyId": "my_dataPolicyId", + * // "dataPolicyType": "my_dataPolicyType", + * // "etag": "my_etag", + * // "grantees": [], + * // "name": "my_name", + * // "policyTag": "my_policyTag", + * // "version": "my_version" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + removeGrantees( + params: Params$Resource$Projects$Locations$Datapolicies$Removegrantees, + options: StreamMethodOptions + ): Promise>; + removeGrantees( + params?: Params$Resource$Projects$Locations$Datapolicies$Removegrantees, + options?: MethodOptions + ): Promise>; + removeGrantees( + params: Params$Resource$Projects$Locations$Datapolicies$Removegrantees, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + removeGrantees( + params: Params$Resource$Projects$Locations$Datapolicies$Removegrantees, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + removeGrantees( + params: Params$Resource$Projects$Locations$Datapolicies$Removegrantees, + callback: BodyResponseCallback + ): void; + removeGrantees(callback: BodyResponseCallback): void; + removeGrantees( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Datapolicies$Removegrantees + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Datapolicies$Removegrantees; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Datapolicies$Removegrantees; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://bigquerydatapolicy.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v2/{+dataPolicy}:removeGrantees').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['dataPolicy'], + pathParams: ['dataPolicy'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Sets the IAM policy for the specified data policy. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/bigquerydatapolicy.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const bigquerydatapolicy = google.bigquerydatapolicy('v2'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: [ + * 'https://www.googleapis.com/auth/bigquery', + * 'https://www.googleapis.com/auth/cloud-platform', + * ], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await bigquerydatapolicy.projects.locations.dataPolicies.setIamPolicy({ + * // REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + * resource: + * 'projects/my-project/locations/my-location/dataPolicies/my-dataPolicie', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "policy": {}, + * // "updateMask": "my_updateMask" + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "auditConfigs": [], + * // "bindings": [], + * // "etag": "my_etag", + * // "version": 0 + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + setIamPolicy( + params: Params$Resource$Projects$Locations$Datapolicies$Setiampolicy, + options: StreamMethodOptions + ): Promise>; + setIamPolicy( + params?: Params$Resource$Projects$Locations$Datapolicies$Setiampolicy, + options?: MethodOptions + ): Promise>; + setIamPolicy( + params: Params$Resource$Projects$Locations$Datapolicies$Setiampolicy, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + setIamPolicy( + params: Params$Resource$Projects$Locations$Datapolicies$Setiampolicy, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + setIamPolicy( + params: Params$Resource$Projects$Locations$Datapolicies$Setiampolicy, + callback: BodyResponseCallback + ): void; + setIamPolicy(callback: BodyResponseCallback): void; + setIamPolicy( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Datapolicies$Setiampolicy + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Datapolicies$Setiampolicy; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Datapolicies$Setiampolicy; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://bigquerydatapolicy.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v2/{+resource}:setIamPolicy').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Returns the caller's permission on the specified data policy resource. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/bigquerydatapolicy.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const bigquerydatapolicy = google.bigquerydatapolicy('v2'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: [ + * 'https://www.googleapis.com/auth/bigquery', + * 'https://www.googleapis.com/auth/cloud-platform', + * ], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await bigquerydatapolicy.projects.locations.dataPolicies.testIamPermissions( + * { + * // REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + * resource: + * 'projects/my-project/locations/my-location/dataPolicies/my-dataPolicie', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "permissions": [] + * // } + * }, + * }, + * ); + * console.log(res.data); + * + * // Example response + * // { + * // "permissions": [] + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + testIamPermissions( + params: Params$Resource$Projects$Locations$Datapolicies$Testiampermissions, + options: StreamMethodOptions + ): Promise>; + testIamPermissions( + params?: Params$Resource$Projects$Locations$Datapolicies$Testiampermissions, + options?: MethodOptions + ): Promise>; + testIamPermissions( + params: Params$Resource$Projects$Locations$Datapolicies$Testiampermissions, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + testIamPermissions( + params: Params$Resource$Projects$Locations$Datapolicies$Testiampermissions, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + testIamPermissions( + params: Params$Resource$Projects$Locations$Datapolicies$Testiampermissions, + callback: BodyResponseCallback + ): void; + testIamPermissions( + callback: BodyResponseCallback + ): void; + testIamPermissions( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Datapolicies$Testiampermissions + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Datapolicies$Testiampermissions; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Datapolicies$Testiampermissions; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://bigquerydatapolicy.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v2/{+resource}:testIamPermissions').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + } + + export interface Params$Resource$Projects$Locations$Datapolicies$Addgrantees + extends StandardParameters { + /** + * Required. Resource name of this data policy, in the format of `projects/{project_number\}/locations/{location_id\}/dataPolicies/{data_policy_id\}`. + */ + dataPolicy?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$AddGranteesRequest; + } + export interface Params$Resource$Projects$Locations$Datapolicies$Create + extends StandardParameters { + /** + * Required. Resource name of the project that the data policy will belong to. The format is `projects/{project_number\}/locations/{location_id\}`. + */ + parent?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$CreateDataPolicyRequest; + } + export interface Params$Resource$Projects$Locations$Datapolicies$Delete + extends StandardParameters { + /** + * Required. Resource name of the data policy to delete. Format is `projects/{project_number\}/locations/{location_id\}/dataPolicies/{id\}`. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Datapolicies$Get + extends StandardParameters { + /** + * Required. Resource name of the requested data policy. Format is `projects/{project_number\}/locations/{location_id\}/dataPolicies/{id\}`. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Datapolicies$Getiampolicy + extends StandardParameters { + /** + * REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + */ + resource?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GetIamPolicyRequest; + } + export interface Params$Resource$Projects$Locations$Datapolicies$List + extends StandardParameters { + /** + * Optional. Filters the data policies by policy tags that they are associated with. Currently filter only supports "policy_tag" based filtering and OR based predicates. Sample filter can be "policy_tag: projects/1/locations/us/taxonomies/2/policyTags/3". You may also use wildcard such as "policy_tag: projects/1/locations/us/taxonomies/2*". Please note that OR predicates cannot be used with wildcard filters. + */ + filter?: string; + /** + * Optional. The maximum number of data policies to return. Must be a value between 1 and 1000. If not set, defaults to 50. + */ + pageSize?: number; + /** + * Optional. The `nextPageToken` value returned from a previous list request, if any. If not set, defaults to an empty string. + */ + pageToken?: string; + /** + * Required. Resource name of the project for which to list data policies. Format is `projects/{project_number\}/locations/{location_id\}`. + */ + parent?: string; + } + export interface Params$Resource$Projects$Locations$Datapolicies$Patch + extends StandardParameters { + /** + * Optional. If set to true, and the data policy is not found, a new data policy will be created. In this situation, update_mask is ignored. + */ + allowMissing?: boolean; + /** + * Identifier. Resource name of this data policy, in the format of `projects/{project_number\}/locations/{location_id\}/dataPolicies/{data_policy_id\}`. + */ + name?: string; + /** + * Optional. The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If not set, defaults to all of the fields that are allowed to update. Updates to the `name` and `dataPolicyId` fields are not allowed. + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$DataPolicy; + } + export interface Params$Resource$Projects$Locations$Datapolicies$Removegrantees + extends StandardParameters { + /** + * Required. Resource name of this data policy, in the format of `projects/{project_number\}/locations/{location_id\}/dataPolicies/{data_policy_id\}`. + */ + dataPolicy?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$RemoveGranteesRequest; + } + export interface Params$Resource$Projects$Locations$Datapolicies$Setiampolicy + extends StandardParameters { + /** + * REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + */ + resource?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$SetIamPolicyRequest; + } + export interface Params$Resource$Projects$Locations$Datapolicies$Testiampermissions + extends StandardParameters { + /** + * REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + */ + resource?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$TestIamPermissionsRequest; + } +} diff --git a/src/apis/bigtableadmin/v2.ts b/src/apis/bigtableadmin/v2.ts index 775b9ff30cc..1042acaf39e 100644 --- a/src/apis/bigtableadmin/v2.ts +++ b/src/apis/bigtableadmin/v2.ts @@ -14683,6 +14683,164 @@ export namespace bigtableadmin_v2 { } } + /** + * Gets the access control policy for a Bigtable resource. Returns an empty policy if the resource exists but does not have a policy set. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/bigtableadmin.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const bigtableadmin = google.bigtableadmin('v2'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: [ + * 'https://www.googleapis.com/auth/bigtable.admin', + * 'https://www.googleapis.com/auth/bigtable.admin.table', + * 'https://www.googleapis.com/auth/cloud-bigtable.admin', + * 'https://www.googleapis.com/auth/cloud-bigtable.admin.table', + * 'https://www.googleapis.com/auth/cloud-platform', + * ], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await bigtableadmin.projects.instances.tables.schemaBundles.getIamPolicy({ + * // REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + * resource: + * 'projects/my-project/instances/my-instance/tables/my-table/schemaBundles/my-schemaBundle', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "options": {} + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "auditConfigs": [], + * // "bindings": [], + * // "etag": "my_etag", + * // "version": 0 + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + getIamPolicy( + params: Params$Resource$Projects$Instances$Tables$Schemabundles$Getiampolicy, + options: StreamMethodOptions + ): Promise>; + getIamPolicy( + params?: Params$Resource$Projects$Instances$Tables$Schemabundles$Getiampolicy, + options?: MethodOptions + ): Promise>; + getIamPolicy( + params: Params$Resource$Projects$Instances$Tables$Schemabundles$Getiampolicy, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + getIamPolicy( + params: Params$Resource$Projects$Instances$Tables$Schemabundles$Getiampolicy, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + getIamPolicy( + params: Params$Resource$Projects$Instances$Tables$Schemabundles$Getiampolicy, + callback: BodyResponseCallback + ): void; + getIamPolicy(callback: BodyResponseCallback): void; + getIamPolicy( + paramsOrCallback?: + | Params$Resource$Projects$Instances$Tables$Schemabundles$Getiampolicy + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Instances$Tables$Schemabundles$Getiampolicy; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Instances$Tables$Schemabundles$Getiampolicy; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://bigtableadmin.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v2/{+resource}:getIamPolicy').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + /** * Lists all schema bundles associated with the specified table. * @example @@ -15000,6 +15158,326 @@ export namespace bigtableadmin_v2 { return createAPIRequest(parameters); } } + + /** + * Sets the access control policy on a Bigtable resource. Replaces any existing policy. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/bigtableadmin.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const bigtableadmin = google.bigtableadmin('v2'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: [ + * 'https://www.googleapis.com/auth/bigtable.admin', + * 'https://www.googleapis.com/auth/bigtable.admin.table', + * 'https://www.googleapis.com/auth/cloud-bigtable.admin', + * 'https://www.googleapis.com/auth/cloud-bigtable.admin.table', + * 'https://www.googleapis.com/auth/cloud-platform', + * ], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await bigtableadmin.projects.instances.tables.schemaBundles.setIamPolicy({ + * // REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + * resource: + * 'projects/my-project/instances/my-instance/tables/my-table/schemaBundles/my-schemaBundle', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "policy": {}, + * // "updateMask": "my_updateMask" + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "auditConfigs": [], + * // "bindings": [], + * // "etag": "my_etag", + * // "version": 0 + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + setIamPolicy( + params: Params$Resource$Projects$Instances$Tables$Schemabundles$Setiampolicy, + options: StreamMethodOptions + ): Promise>; + setIamPolicy( + params?: Params$Resource$Projects$Instances$Tables$Schemabundles$Setiampolicy, + options?: MethodOptions + ): Promise>; + setIamPolicy( + params: Params$Resource$Projects$Instances$Tables$Schemabundles$Setiampolicy, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + setIamPolicy( + params: Params$Resource$Projects$Instances$Tables$Schemabundles$Setiampolicy, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + setIamPolicy( + params: Params$Resource$Projects$Instances$Tables$Schemabundles$Setiampolicy, + callback: BodyResponseCallback + ): void; + setIamPolicy(callback: BodyResponseCallback): void; + setIamPolicy( + paramsOrCallback?: + | Params$Resource$Projects$Instances$Tables$Schemabundles$Setiampolicy + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Instances$Tables$Schemabundles$Setiampolicy; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Instances$Tables$Schemabundles$Setiampolicy; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://bigtableadmin.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v2/{+resource}:setIamPolicy').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Returns permissions that the caller has on the specified Bigtable resource. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/bigtableadmin.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const bigtableadmin = google.bigtableadmin('v2'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: [ + * 'https://www.googleapis.com/auth/bigtable.admin', + * 'https://www.googleapis.com/auth/bigtable.admin.table', + * 'https://www.googleapis.com/auth/cloud-bigtable.admin', + * 'https://www.googleapis.com/auth/cloud-bigtable.admin.table', + * 'https://www.googleapis.com/auth/cloud-platform', + * ], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await bigtableadmin.projects.instances.tables.schemaBundles.testIamPermissions( + * { + * // REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + * resource: + * 'projects/my-project/instances/my-instance/tables/my-table/schemaBundles/my-schemaBundle', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "permissions": [] + * // } + * }, + * }, + * ); + * console.log(res.data); + * + * // Example response + * // { + * // "permissions": [] + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + testIamPermissions( + params: Params$Resource$Projects$Instances$Tables$Schemabundles$Testiampermissions, + options: StreamMethodOptions + ): Promise>; + testIamPermissions( + params?: Params$Resource$Projects$Instances$Tables$Schemabundles$Testiampermissions, + options?: MethodOptions + ): Promise>; + testIamPermissions( + params: Params$Resource$Projects$Instances$Tables$Schemabundles$Testiampermissions, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + testIamPermissions( + params: Params$Resource$Projects$Instances$Tables$Schemabundles$Testiampermissions, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + testIamPermissions( + params: Params$Resource$Projects$Instances$Tables$Schemabundles$Testiampermissions, + callback: BodyResponseCallback + ): void; + testIamPermissions( + callback: BodyResponseCallback + ): void; + testIamPermissions( + paramsOrCallback?: + | Params$Resource$Projects$Instances$Tables$Schemabundles$Testiampermissions + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Instances$Tables$Schemabundles$Testiampermissions; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Instances$Tables$Schemabundles$Testiampermissions; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://bigtableadmin.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v2/{+resource}:testIamPermissions').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } } export interface Params$Resource$Projects$Instances$Tables$Schemabundles$Create @@ -15036,6 +15514,18 @@ export namespace bigtableadmin_v2 { */ name?: string; } + export interface Params$Resource$Projects$Instances$Tables$Schemabundles$Getiampolicy + extends StandardParameters { + /** + * REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + */ + resource?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GetIamPolicyRequest; + } export interface Params$Resource$Projects$Instances$Tables$Schemabundles$List extends StandardParameters { /** @@ -15075,6 +15565,30 @@ export namespace bigtableadmin_v2 { */ requestBody?: Schema$SchemaBundle; } + export interface Params$Resource$Projects$Instances$Tables$Schemabundles$Setiampolicy + extends StandardParameters { + /** + * REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + */ + resource?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$SetIamPolicyRequest; + } + export interface Params$Resource$Projects$Instances$Tables$Schemabundles$Testiampermissions + extends StandardParameters { + /** + * REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + */ + resource?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$TestIamPermissionsRequest; + } export class Resource$Projects$Locations { context: APIRequestContext; diff --git a/src/apis/chat/v1.ts b/src/apis/chat/v1.ts index b5bbc412baa..c0e3bb6a41b 100644 --- a/src/apis/chat/v1.ts +++ b/src/apis/chat/v1.ts @@ -1107,7 +1107,7 @@ export namespace chat_v1 { */ type?: string | null; /** - * The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). + * Optional. The default value displayed in the widget, in milliseconds since [Unix epoch time](https://en.wikipedia.org/wiki/Unix_time). Specify the value based on the type of picker (`DateTimePickerType`): * `DATE_AND_TIME`: a calendar date and time in UTC. For example, to represent January 1, 2023 at 12:00 PM UTC, use `1672574400000`. * `DATE_ONLY`: a calendar date at 00:00:00 UTC. For example, to represent January 1, 2023, use `1672531200000`. * `TIME_ONLY`: a time in UTC. For example, to represent 12:00 PM, use `43200000` (or `12 * 60 * 60 * 1000`). */ valueMsEpoch?: string | null; } @@ -2210,7 +2210,7 @@ export namespace chat_v1 { */ fallbackText?: string | null; /** - * Output only. Contains the message `text` with markups added to communicate formatting. This field might not capture all formatting visible in the UI, but includes the following: * [Markup syntax](https://developers.google.com/workspace/chat/format-messages) for bold, italic, strikethrough, monospace, monospace block, and bulleted list. * [User mentions](https://developers.google.com/workspace/chat/format-messages#messages-@mention) using the format ``. * Custom hyperlinks using the format `<{url\}|{rendered_text\}\>` where the first string is the URL and the second is the rendered text—for example, ``. * Custom emoji using the format `:{emoji_name\}:`—for example, `:smile:`. This doesn't apply to Unicode emoji, such as `U+1F600` for a grinning face emoji. For more information, see [View text formatting sent in a message](https://developers.google.com/workspace/chat/format-messages#view_text_formatting_sent_in_a_message) + * Output only. Contains the message `text` with markups added to communicate formatting. This field might not capture all formatting visible in the UI, but includes the following: * [Markup syntax](https://developers.google.com/workspace/chat/format-messages) for bold, italic, strikethrough, monospace, monospace block, and bulleted list. * [User mentions](https://developers.google.com/workspace/chat/format-messages#messages-@mention) using the format ``. * Custom hyperlinks using the format `<{url\}|{rendered_text\}\>` where the first string is the URL and the second is the rendered text—for example, ``. * Custom emoji using the format `:{emoji_name\}:`—for example, `:smile:`. This doesn't apply to Unicode emoji, such as `U+1F600` for a grinning face emoji. * Bullet list items using asterisks (`*`)—for example, `* item`. For more information, see [View text formatting sent in a message](https://developers.google.com/workspace/chat/format-messages#view_text_formatting_sent_in_a_message) */ formattedText?: string | null; /** diff --git a/src/apis/chromemanagement/v1.ts b/src/apis/chromemanagement/v1.ts index 21131f4a917..eba228371e8 100644 --- a/src/apis/chromemanagement/v1.ts +++ b/src/apis/chromemanagement/v1.ts @@ -1393,14 +1393,30 @@ export namespace chromemanagement_v1 { * Output only. Gateway IP address. */ gatewayIpAddress?: string | null; + /** + * Output only. The gateway IPv6 for this interface, if detected + */ + gatewayIpv6Address?: string | null; /** * Output only. Network connection guid. */ guid?: string | null; + /** + * Output only. IPv6 addresses assigned to this network, if any. Each address is a string in standard IPv6 text representation (e.g., "2001:db8::1"). + */ + ipv6Address?: string[] | null; /** * Output only. LAN IP address. */ lanIpAddress?: string | null; + /** + * Output only. The maximum downstream bandwidth in Kilobits per second (Kbps), if reported by the network interface or connection. + */ + linkDownSpeedKbps?: string | null; + /** + * Output only. Whether the network was detected as metered. + */ + metered?: boolean | null; /** * Output only. Receiving bit rate measured in Megabits per second. */ @@ -1902,6 +1918,10 @@ export namespace chromemanagement_v1 { * The event type of the current event. */ eventType?: string | null; + /** + * Output only. Payload for external display connected/disconnected event. Present only when `event_type` is `EXTERNAL_DISPLAY_CONNECTED` or `EXTERNAL_DISPLAY_DISCONNECTED`. + */ + externalDisplaysEvent?: Schema$GoogleChromeManagementV1TelemetryExternalDisplayEvent; /** * Output only. Payload for HTTPS latency change event. Present only when `event_type` is `NETWORK_HTTPS_LATENCY_CHANGE`. */ @@ -1948,6 +1968,44 @@ export namespace chromemanagement_v1 { */ eventTypes?: string[] | null; } + /** + * External display data. + */ + export interface Schema$GoogleChromeManagementV1TelemetryExternalDisplayData { + /** + * The display name. + */ + displayName?: string | null; + /** + * The EDID version. + */ + edidVersion?: string | null; + /** + * The refresh rate. + */ + refreshRate?: string | null; + /** + * The horizontal resolution. + */ + resolutionHorizontal?: number | null; + /** + * The vertical resolution. + */ + resolutionVertical?: number | null; + /** + * The serial number. + */ + serialNumber?: number | null; + } + /** + * External display connected/disconnected event payload. + */ + export interface Schema$GoogleChromeManagementV1TelemetryExternalDisplayEvent { + /** + * List of external displays that were connected/disconnected. + */ + externalDisplayData?: Schema$GoogleChromeManagementV1TelemetryExternalDisplayData[]; + } /** * Https latency routine is run periodically and `TelemetryHttpsLatencyChangeEvent` is triggered if a latency problem was detected or if the device has recovered from a latency problem. * Granular permission needed: TELEMETRY_API_NETWORK_REPORT */ diff --git a/src/apis/compute/beta.ts b/src/apis/compute/beta.ts index 3f2e20752fc..61f79c07f5b 100644 --- a/src/apis/compute/beta.ts +++ b/src/apis/compute/beta.ts @@ -34195,6 +34195,24 @@ export namespace compute_beta { */ labels?: {[key: string]: string} | null; } + export interface Schema$ZoneSetNestedPolicyRequest { + /** + * Flatten Policy to create a backwacd compatible wire-format. + * Deprecated. Use 'policy' to specify bindings. + */ + bindings?: Schema$Binding[]; + /** + * Flatten Policy to create a backward compatible wire-format. + * Deprecated. Use 'policy' to specify the etag. + */ + etag?: string | null; + /** + * REQUIRED: The complete policy to be applied to the 'resource'. The size of + * the policy is limited to a few 10s of KB. An empty policy is in general a + * valid policy but certain services (like Projects) might reject them. + */ + policy?: Schema$Policy; + } export interface Schema$ZoneSetPolicyRequest { /** * Flatten Policy to create a backwacd compatible wire-format. @@ -218765,6 +218783,160 @@ export namespace compute_beta { } } + /** + * Gets the access control policy for a resource. May be empty if no such + * policy or resource exists. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/compute.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const compute = google.compute('beta'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/compute', + * 'https://www.googleapis.com/auth/compute.readonly', + * ], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await compute.reservationBlocks.getIamPolicy({ + * // Requested IAM Policy version. + * optionsRequestedPolicyVersion: 'placeholder-value', + * // Name or id of parent resource of the resource for this request. + * parentResource: '[a-z](?:[-a-zA-Z0-9/]{0,255}[a-zA-Z0-9])?', + * // Project ID for this request. + * project: + * '(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))', + * // Name or id of the resource for this request. + * resource: '[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}', + * // The name of the zone for this request. + * zone: '[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "auditConfigs": [], + * // "bindings": [], + * // "etag": "my_etag", + * // "version": 0 + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + getIamPolicy( + params: Params$Resource$Reservationblocks$Getiampolicy, + options: StreamMethodOptions + ): Promise>; + getIamPolicy( + params?: Params$Resource$Reservationblocks$Getiampolicy, + options?: MethodOptions + ): Promise>; + getIamPolicy( + params: Params$Resource$Reservationblocks$Getiampolicy, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + getIamPolicy( + params: Params$Resource$Reservationblocks$Getiampolicy, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + getIamPolicy( + params: Params$Resource$Reservationblocks$Getiampolicy, + callback: BodyResponseCallback + ): void; + getIamPolicy(callback: BodyResponseCallback): void; + getIamPolicy( + paramsOrCallback?: + | Params$Resource$Reservationblocks$Getiampolicy + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Reservationblocks$Getiampolicy; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Reservationblocks$Getiampolicy; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/reservations/{parentResource}/reservationBlocks/{resource}/getIamPolicy' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['project', 'zone', 'parentResource', 'resource'], + pathParams: ['parentResource', 'project', 'resource', 'zone'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + /** * Retrieves a list of reservation blocks under a single reservation. * @example @@ -219204,201 +219376,593 @@ export namespace compute_beta { return createAPIRequest(parameters); } } - } - - export interface Params$Resource$Reservationblocks$Get - extends StandardParameters { - /** - * Project ID for this request. - */ - project?: string; - /** - * The name of the reservation. - * Name should conform to RFC1035 or be a resource ID. - */ - reservation?: string; - /** - * The name of the reservation block. - * Name should conform to RFC1035 or be a resource ID. - */ - reservationBlock?: string; - /** - * View of the Block. - */ - view?: string; - /** - * Name of the zone for this request. Zone name should conform to RFC1035. - */ - zone?: string; - } - export interface Params$Resource$Reservationblocks$List - extends StandardParameters { - /** - * A filter expression that filters resources listed in the response. Most - * Compute resources support two types of filter expressions: - * expressions that support regular expressions and expressions that follow - * API improvement proposal AIP-160. - * These two types of filter expressions cannot be mixed in one request. - * - * If you want to use AIP-160, your expression must specify the field name, an - * operator, and the value that you want to use for filtering. The value - * must be a string, a number, or a boolean. The operator - * must be either `=`, `!=`, `\>`, `<`, `<=`, `\>=` or `:`. - * - * For example, if you are filtering Compute Engine instances, you can - * exclude instances named `example-instance` by specifying - * `name != example-instance`. - * - * The `:*` comparison can be used to test whether a key has been defined. - * For example, to find all objects with `owner` label use: - * ``` - * labels.owner:* - * ``` - * - * You can also filter nested fields. For example, you could specify - * `scheduling.automaticRestart = false` to include instances only - * if they are not scheduled for automatic restarts. You can use filtering - * on nested fields to filter based onresource labels. - * - * To filter on multiple expressions, provide each separate expression within - * parentheses. For example: - * ``` - * (scheduling.automaticRestart = true) - * (cpuPlatform = "Intel Skylake") - * ``` - * By default, each expression is an `AND` expression. However, you - * can include `AND` and `OR` expressions explicitly. - * For example: - * ``` - * (cpuPlatform = "Intel Skylake") OR - * (cpuPlatform = "Intel Broadwell") AND - * (scheduling.automaticRestart = true) - * ``` - * - * If you want to use a regular expression, use the `eq` (equal) or `ne` - * (not equal) operator against a single un-parenthesized expression with or - * without quotes or against multiple parenthesized expressions. Examples: - * - * `fieldname eq unquoted literal` - * `fieldname eq 'single quoted literal'` - * `fieldname eq "double quoted literal"` - * `(fieldname1 eq literal) (fieldname2 ne "literal")` - * - * The literal value is interpreted as a regular expression using GoogleRE2 library syntax. - * The literal value must match the entire field. - * - * For example, to filter for instances that do not end with name "instance", - * you would use `name ne .*instance`. - * - * You cannot combine constraints on multiple fields using regular - * expressions. - */ - filter?: string; - /** - * The maximum number of results per page that should be returned. - * If the number of available results is larger than `maxResults`, - * Compute Engine returns a `nextPageToken` that can be used to get - * the next page of results in subsequent list requests. Acceptable values are - * `0` to `500`, inclusive. (Default: `500`) - */ - maxResults?: number; - /** - * Sorts list results by a certain order. By default, results - * are returned in alphanumerical order based on the resource name. - * - * You can also sort results in descending order based on the creation - * timestamp using `orderBy="creationTimestamp desc"`. This sorts - * results based on the `creationTimestamp` field in - * reverse chronological order (newest result first). Use this to sort - * resources like operations so that the newest operation is returned first. - * - * Currently, only sorting by `name` or - * `creationTimestamp desc` is supported. - */ - orderBy?: string; - /** - * Specifies a page token to use. Set `pageToken` to the - * `nextPageToken` returned by a previous list request to get - * the next page of results. - */ - pageToken?: string; - /** - * Project ID for this request. - */ - project?: string; - /** - * The name of the reservation. - * Name should conform to RFC1035 or be a resource ID. - */ - reservation?: string; - /** - * Opt-in for partial success behavior which provides partial results in case - * of failure. The default value is false. - * - * For example, when partial success behavior is enabled, aggregatedList for a - * single zone scope either returns all resources in the zone or no resources, - * with an error code. - */ - returnPartialSuccess?: boolean; - /** - * Name of the zone for this request. Zone name should conform to RFC1035. - */ - zone?: string; - } - export interface Params$Resource$Reservationblocks$Performmaintenance - extends StandardParameters { - /** - * Project ID for this request. - */ - project?: string; - /** - * An optional request ID to identify requests. Specify a unique request ID so - * that if you must retry your request, the server will know to ignore the - * request if it has already been completed. - * - * For example, consider a situation where you make an initial request and - * the request times out. If you make the request again with the same - * request ID, the server can check if original operation with the same - * request ID was received, and if so, will ignore the second request. This - * prevents clients from accidentally creating duplicate commitments. - * - * The request ID must be - * a valid UUID with the exception that zero UUID is not supported - * (00000000-0000-0000-0000-000000000000). - */ - requestId?: string; - /** - * The name of the reservation. - * Name should conform to RFC1035 or be a resource ID. - */ - reservation?: string; - /** - * The name of the reservation block. - * Name should conform to RFC1035 or be a resource ID. - */ - reservationBlock?: string; - /** - * Name of the zone for this request. Zone name should conform to RFC1035. - */ - zone?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$ReservationsBlocksPerformMaintenanceRequest; - } - - export class Resource$Reservations { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; - } /** - * Retrieves an aggregated list of reservations. - * - * To prevent failure, Google recommends that you set the - * `returnPartialSuccess` parameter to `true`. + * Sets the access control policy on the specified resource. + * Replaces any existing policy. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/compute.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const compute = google.compute('beta'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/compute', + * ], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await compute.reservationBlocks.setIamPolicy({ + * // Name or id of parent resource of the resource for this request. + * parentResource: '[a-z](?:[-a-zA-Z0-9/]{0,255}[a-zA-Z0-9])?', + * // Project ID for this request. + * project: + * '(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))', + * // Name or id of the resource for this request. + * resource: '[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}', + * // The name of the zone for this request. + * zone: '[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "bindings": [], + * // "etag": "my_etag", + * // "policy": {} + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "auditConfigs": [], + * // "bindings": [], + * // "etag": "my_etag", + * // "version": 0 + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + setIamPolicy( + params: Params$Resource$Reservationblocks$Setiampolicy, + options: StreamMethodOptions + ): Promise>; + setIamPolicy( + params?: Params$Resource$Reservationblocks$Setiampolicy, + options?: MethodOptions + ): Promise>; + setIamPolicy( + params: Params$Resource$Reservationblocks$Setiampolicy, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + setIamPolicy( + params: Params$Resource$Reservationblocks$Setiampolicy, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + setIamPolicy( + params: Params$Resource$Reservationblocks$Setiampolicy, + callback: BodyResponseCallback + ): void; + setIamPolicy(callback: BodyResponseCallback): void; + setIamPolicy( + paramsOrCallback?: + | Params$Resource$Reservationblocks$Setiampolicy + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Reservationblocks$Setiampolicy; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Reservationblocks$Setiampolicy; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/reservations/{parentResource}/reservationBlocks/{resource}/setIamPolicy' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['project', 'zone', 'parentResource', 'resource'], + pathParams: ['parentResource', 'project', 'resource', 'zone'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Returns permissions that a caller has on the specified resource. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/compute.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const compute = google.compute('beta'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/compute', + * 'https://www.googleapis.com/auth/compute.readonly', + * ], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await compute.reservationBlocks.testIamPermissions({ + * // Name or id of parent resource of the resource for this request. + * parentResource: '[a-z](?:[-a-zA-Z0-9/]{0,255}[a-zA-Z0-9])?', + * // Project ID for this request. + * project: + * '(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))', + * // Name or id of the resource for this request. + * resource: '[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}', + * // The name of the zone for this request. + * zone: '[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "permissions": [] + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "permissions": [] + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + testIamPermissions( + params: Params$Resource$Reservationblocks$Testiampermissions, + options: StreamMethodOptions + ): Promise>; + testIamPermissions( + params?: Params$Resource$Reservationblocks$Testiampermissions, + options?: MethodOptions + ): Promise>; + testIamPermissions( + params: Params$Resource$Reservationblocks$Testiampermissions, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + testIamPermissions( + params: Params$Resource$Reservationblocks$Testiampermissions, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + testIamPermissions( + params: Params$Resource$Reservationblocks$Testiampermissions, + callback: BodyResponseCallback + ): void; + testIamPermissions( + callback: BodyResponseCallback + ): void; + testIamPermissions( + paramsOrCallback?: + | Params$Resource$Reservationblocks$Testiampermissions + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Reservationblocks$Testiampermissions; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Reservationblocks$Testiampermissions; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/reservations/{parentResource}/reservationBlocks/{resource}/testIamPermissions' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['project', 'zone', 'parentResource', 'resource'], + pathParams: ['parentResource', 'project', 'resource', 'zone'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + } + + export interface Params$Resource$Reservationblocks$Get + extends StandardParameters { + /** + * Project ID for this request. + */ + project?: string; + /** + * The name of the reservation. + * Name should conform to RFC1035 or be a resource ID. + */ + reservation?: string; + /** + * The name of the reservation block. + * Name should conform to RFC1035 or be a resource ID. + */ + reservationBlock?: string; + /** + * View of the Block. + */ + view?: string; + /** + * Name of the zone for this request. Zone name should conform to RFC1035. + */ + zone?: string; + } + export interface Params$Resource$Reservationblocks$Getiampolicy + extends StandardParameters { + /** + * Requested IAM Policy version. + */ + optionsRequestedPolicyVersion?: number; + /** + * Name or id of parent resource of the resource for this request. + */ + parentResource?: string; + /** + * Project ID for this request. + */ + project?: string; + /** + * Name or id of the resource for this request. + */ + resource?: string; + /** + * The name of the zone for this request. + */ + zone?: string; + } + export interface Params$Resource$Reservationblocks$List + extends StandardParameters { + /** + * A filter expression that filters resources listed in the response. Most + * Compute resources support two types of filter expressions: + * expressions that support regular expressions and expressions that follow + * API improvement proposal AIP-160. + * These two types of filter expressions cannot be mixed in one request. + * + * If you want to use AIP-160, your expression must specify the field name, an + * operator, and the value that you want to use for filtering. The value + * must be a string, a number, or a boolean. The operator + * must be either `=`, `!=`, `\>`, `<`, `<=`, `\>=` or `:`. + * + * For example, if you are filtering Compute Engine instances, you can + * exclude instances named `example-instance` by specifying + * `name != example-instance`. + * + * The `:*` comparison can be used to test whether a key has been defined. + * For example, to find all objects with `owner` label use: + * ``` + * labels.owner:* + * ``` + * + * You can also filter nested fields. For example, you could specify + * `scheduling.automaticRestart = false` to include instances only + * if they are not scheduled for automatic restarts. You can use filtering + * on nested fields to filter based onresource labels. + * + * To filter on multiple expressions, provide each separate expression within + * parentheses. For example: + * ``` + * (scheduling.automaticRestart = true) + * (cpuPlatform = "Intel Skylake") + * ``` + * By default, each expression is an `AND` expression. However, you + * can include `AND` and `OR` expressions explicitly. + * For example: + * ``` + * (cpuPlatform = "Intel Skylake") OR + * (cpuPlatform = "Intel Broadwell") AND + * (scheduling.automaticRestart = true) + * ``` + * + * If you want to use a regular expression, use the `eq` (equal) or `ne` + * (not equal) operator against a single un-parenthesized expression with or + * without quotes or against multiple parenthesized expressions. Examples: + * + * `fieldname eq unquoted literal` + * `fieldname eq 'single quoted literal'` + * `fieldname eq "double quoted literal"` + * `(fieldname1 eq literal) (fieldname2 ne "literal")` + * + * The literal value is interpreted as a regular expression using GoogleRE2 library syntax. + * The literal value must match the entire field. + * + * For example, to filter for instances that do not end with name "instance", + * you would use `name ne .*instance`. + * + * You cannot combine constraints on multiple fields using regular + * expressions. + */ + filter?: string; + /** + * The maximum number of results per page that should be returned. + * If the number of available results is larger than `maxResults`, + * Compute Engine returns a `nextPageToken` that can be used to get + * the next page of results in subsequent list requests. Acceptable values are + * `0` to `500`, inclusive. (Default: `500`) + */ + maxResults?: number; + /** + * Sorts list results by a certain order. By default, results + * are returned in alphanumerical order based on the resource name. + * + * You can also sort results in descending order based on the creation + * timestamp using `orderBy="creationTimestamp desc"`. This sorts + * results based on the `creationTimestamp` field in + * reverse chronological order (newest result first). Use this to sort + * resources like operations so that the newest operation is returned first. + * + * Currently, only sorting by `name` or + * `creationTimestamp desc` is supported. + */ + orderBy?: string; + /** + * Specifies a page token to use. Set `pageToken` to the + * `nextPageToken` returned by a previous list request to get + * the next page of results. + */ + pageToken?: string; + /** + * Project ID for this request. + */ + project?: string; + /** + * The name of the reservation. + * Name should conform to RFC1035 or be a resource ID. + */ + reservation?: string; + /** + * Opt-in for partial success behavior which provides partial results in case + * of failure. The default value is false. + * + * For example, when partial success behavior is enabled, aggregatedList for a + * single zone scope either returns all resources in the zone or no resources, + * with an error code. + */ + returnPartialSuccess?: boolean; + /** + * Name of the zone for this request. Zone name should conform to RFC1035. + */ + zone?: string; + } + export interface Params$Resource$Reservationblocks$Performmaintenance + extends StandardParameters { + /** + * Project ID for this request. + */ + project?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID so + * that if you must retry your request, the server will know to ignore the + * request if it has already been completed. + * + * For example, consider a situation where you make an initial request and + * the request times out. If you make the request again with the same + * request ID, the server can check if original operation with the same + * request ID was received, and if so, will ignore the second request. This + * prevents clients from accidentally creating duplicate commitments. + * + * The request ID must be + * a valid UUID with the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** + * The name of the reservation. + * Name should conform to RFC1035 or be a resource ID. + */ + reservation?: string; + /** + * The name of the reservation block. + * Name should conform to RFC1035 or be a resource ID. + */ + reservationBlock?: string; + /** + * Name of the zone for this request. Zone name should conform to RFC1035. + */ + zone?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$ReservationsBlocksPerformMaintenanceRequest; + } + export interface Params$Resource$Reservationblocks$Setiampolicy + extends StandardParameters { + /** + * Name or id of parent resource of the resource for this request. + */ + parentResource?: string; + /** + * Project ID for this request. + */ + project?: string; + /** + * Name or id of the resource for this request. + */ + resource?: string; + /** + * The name of the zone for this request. + */ + zone?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$ZoneSetNestedPolicyRequest; + } + export interface Params$Resource$Reservationblocks$Testiampermissions + extends StandardParameters { + /** + * Name or id of parent resource of the resource for this request. + */ + parentResource?: string; + /** + * Project ID for this request. + */ + project?: string; + /** + * Name or id of the resource for this request. + */ + resource?: string; + /** + * The name of the zone for this request. + */ + zone?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$TestPermissionsRequest; + } + + export class Resource$Reservations { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Retrieves an aggregated list of reservations. + * + * To prevent failure, Google recommends that you set the + * `returnPartialSuccess` parameter to `true`. * @example * ```js * // Before running the sample: @@ -222181,6 +222745,160 @@ export namespace compute_beta { } } + /** + * Gets the access control policy for a resource. May be empty if no such + * policy or resource exists. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/compute.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const compute = google.compute('beta'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/compute', + * 'https://www.googleapis.com/auth/compute.readonly', + * ], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await compute.reservationSubBlocks.getIamPolicy({ + * // Requested IAM Policy version. + * optionsRequestedPolicyVersion: 'placeholder-value', + * // Name or id of parent resource of the resource for this request. + * parentResource: '[a-z](?:[-a-zA-Z0-9/]{0,255}[a-zA-Z0-9])?', + * // Project ID for this request. + * project: + * '(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))', + * // Name or id of the resource for this request. + * resource: '[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}', + * // The name of the zone for this request. + * zone: '[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "auditConfigs": [], + * // "bindings": [], + * // "etag": "my_etag", + * // "version": 0 + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + getIamPolicy( + params: Params$Resource$Reservationsubblocks$Getiampolicy, + options: StreamMethodOptions + ): Promise>; + getIamPolicy( + params?: Params$Resource$Reservationsubblocks$Getiampolicy, + options?: MethodOptions + ): Promise>; + getIamPolicy( + params: Params$Resource$Reservationsubblocks$Getiampolicy, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + getIamPolicy( + params: Params$Resource$Reservationsubblocks$Getiampolicy, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + getIamPolicy( + params: Params$Resource$Reservationsubblocks$Getiampolicy, + callback: BodyResponseCallback + ): void; + getIamPolicy(callback: BodyResponseCallback): void; + getIamPolicy( + paramsOrCallback?: + | Params$Resource$Reservationsubblocks$Getiampolicy + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Reservationsubblocks$Getiampolicy; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Reservationsubblocks$Getiampolicy; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/{parentResource}/reservationSubBlocks/{resource}/getIamPolicy' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['project', 'zone', 'parentResource', 'resource'], + pathParams: ['parentResource', 'project', 'resource', 'zone'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + /** * Retrieves a list of reservation subBlocks under a single reservation. * @example @@ -222823,6 +223541,327 @@ export namespace compute_beta { return createAPIRequest(parameters); } } + + /** + * Sets the access control policy on the specified resource. + * Replaces any existing policy. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/compute.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const compute = google.compute('beta'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/compute', + * ], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await compute.reservationSubBlocks.setIamPolicy({ + * // Name or id of parent resource of the resource for this request. + * parentResource: '[a-z](?:[-a-zA-Z0-9/]{0,255}[a-zA-Z0-9])?', + * // Project ID for this request. + * project: + * '(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))', + * // Name or id of the resource for this request. + * resource: '[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}', + * // The name of the zone for this request. + * zone: '[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "bindings": [], + * // "etag": "my_etag", + * // "policy": {} + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "auditConfigs": [], + * // "bindings": [], + * // "etag": "my_etag", + * // "version": 0 + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + setIamPolicy( + params: Params$Resource$Reservationsubblocks$Setiampolicy, + options: StreamMethodOptions + ): Promise>; + setIamPolicy( + params?: Params$Resource$Reservationsubblocks$Setiampolicy, + options?: MethodOptions + ): Promise>; + setIamPolicy( + params: Params$Resource$Reservationsubblocks$Setiampolicy, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + setIamPolicy( + params: Params$Resource$Reservationsubblocks$Setiampolicy, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + setIamPolicy( + params: Params$Resource$Reservationsubblocks$Setiampolicy, + callback: BodyResponseCallback + ): void; + setIamPolicy(callback: BodyResponseCallback): void; + setIamPolicy( + paramsOrCallback?: + | Params$Resource$Reservationsubblocks$Setiampolicy + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Reservationsubblocks$Setiampolicy; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Reservationsubblocks$Setiampolicy; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/{parentResource}/reservationSubBlocks/{resource}/setIamPolicy' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['project', 'zone', 'parentResource', 'resource'], + pathParams: ['parentResource', 'project', 'resource', 'zone'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Returns permissions that a caller has on the specified resource. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/compute.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const compute = google.compute('beta'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/compute', + * 'https://www.googleapis.com/auth/compute.readonly', + * ], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await compute.reservationSubBlocks.testIamPermissions({ + * // Name or id of parent resource of the resource for this request. + * parentResource: '[a-z](?:[-a-zA-Z0-9/]{0,255}[a-zA-Z0-9])?', + * // Project ID for this request. + * project: + * '(?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))', + * // Name or id of the resource for this request. + * resource: '[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}', + * // The name of the zone for this request. + * zone: '[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "permissions": [] + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "permissions": [] + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + testIamPermissions( + params: Params$Resource$Reservationsubblocks$Testiampermissions, + options: StreamMethodOptions + ): Promise>; + testIamPermissions( + params?: Params$Resource$Reservationsubblocks$Testiampermissions, + options?: MethodOptions + ): Promise>; + testIamPermissions( + params: Params$Resource$Reservationsubblocks$Testiampermissions, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + testIamPermissions( + params: Params$Resource$Reservationsubblocks$Testiampermissions, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + testIamPermissions( + params: Params$Resource$Reservationsubblocks$Testiampermissions, + callback: BodyResponseCallback + ): void; + testIamPermissions( + callback: BodyResponseCallback + ): void; + testIamPermissions( + paramsOrCallback?: + | Params$Resource$Reservationsubblocks$Testiampermissions + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Reservationsubblocks$Testiampermissions; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Reservationsubblocks$Testiampermissions; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/{parentResource}/reservationSubBlocks/{resource}/testIamPermissions' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['project', 'zone', 'parentResource', 'resource'], + pathParams: ['parentResource', 'project', 'resource', 'zone'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } } export interface Params$Resource$Reservationsubblocks$Get @@ -222846,6 +223885,29 @@ export namespace compute_beta { */ zone?: string; } + export interface Params$Resource$Reservationsubblocks$Getiampolicy + extends StandardParameters { + /** + * Requested IAM Policy version. + */ + optionsRequestedPolicyVersion?: number; + /** + * Name or id of parent resource of the resource for this request. + */ + parentResource?: string; + /** + * Project ID for this request. + */ + project?: string; + /** + * Name or id of the resource for this request. + */ + resource?: string; + /** + * The name of the zone for this request. + */ + zone?: string; + } export interface Params$Resource$Reservationsubblocks$List extends StandardParameters { /** @@ -223039,6 +224101,54 @@ export namespace compute_beta { */ requestBody?: Schema$ReservationSubBlocksReportFaultyRequest; } + export interface Params$Resource$Reservationsubblocks$Setiampolicy + extends StandardParameters { + /** + * Name or id of parent resource of the resource for this request. + */ + parentResource?: string; + /** + * Project ID for this request. + */ + project?: string; + /** + * Name or id of the resource for this request. + */ + resource?: string; + /** + * The name of the zone for this request. + */ + zone?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$ZoneSetNestedPolicyRequest; + } + export interface Params$Resource$Reservationsubblocks$Testiampermissions + extends StandardParameters { + /** + * Name or id of parent resource of the resource for this request. + */ + parentResource?: string; + /** + * Project ID for this request. + */ + project?: string; + /** + * Name or id of the resource for this request. + */ + resource?: string; + /** + * The name of the zone for this request. + */ + zone?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$TestPermissionsRequest; + } export class Resource$Resourcepolicies { context: APIRequestContext; diff --git a/src/apis/container/v1.ts b/src/apis/container/v1.ts index 0531af54ae4..16935fb89ce 100644 --- a/src/apis/container/v1.ts +++ b/src/apis/container/v1.ts @@ -1433,6 +1433,10 @@ export namespace container_v1 { * PrivateRegistryAccessConfig is used to configure access configuration for private container registries. */ privateRegistryAccessConfig?: Schema$PrivateRegistryAccessConfig; + /** + * Optional. WritableCgroups defines writable cgroups configuration for the node pool. + */ + writableCgroups?: Schema$WritableCgroups; } /** * Configuration for all of the cluster's control plane endpoints. @@ -2873,7 +2877,7 @@ export namespace container_v1 { */ cpuCfsQuota?: boolean | null; /** - * Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration. + * Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. */ cpuCfsQuotaPeriod?: string | null; /** @@ -4817,6 +4821,15 @@ export namespace container_v1 { */ autopilotCompatibilityAuditingEnabled?: boolean | null; } + /** + * Defines writable cgroups configuration. + */ + export interface Schema$WritableCgroups { + /** + * Optional. Whether writable cgroups is enabled. + */ + enabled?: boolean | null; + } export class Resource$Projects { context: APIRequestContext; diff --git a/src/apis/container/v1beta1.ts b/src/apis/container/v1beta1.ts index 46d0c900df0..96d11212573 100644 --- a/src/apis/container/v1beta1.ts +++ b/src/apis/container/v1beta1.ts @@ -996,6 +996,10 @@ export namespace container_v1beta1 { * Secret CSI driver configuration. */ secretManagerConfig?: Schema$SecretManagerConfig; + /** + * Configuration for sync Secret Manager secrets as k8s secrets. + */ + secretSyncConfig?: Schema$SecretSyncConfig; /** * Enable/Disable Security Posture API features for the cluster. */ @@ -1556,6 +1560,10 @@ export namespace container_v1beta1 { * PrivateRegistryAccessConfig is used to configure access configuration for private container registries. */ privateRegistryAccessConfig?: Schema$PrivateRegistryAccessConfig; + /** + * Optional. WritableCgroups defines writable cgroups configuration for the node pool. + */ + writableCgroups?: Schema$WritableCgroups; } /** * Configuration for all of the cluster's control plane endpoints. @@ -3111,7 +3119,7 @@ export namespace container_v1beta1 { */ cpuCfsQuota?: boolean | null; /** - * Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration. + * Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive. */ cpuCfsQuotaPeriod?: string | null; /** @@ -4047,6 +4055,19 @@ export namespace container_v1beta1 { */ rotationConfig?: Schema$RotationConfig; } + /** + * Configuration for sync Secret Manager secrets as k8s secrets. + */ + export interface Schema$SecretSyncConfig { + /** + * Enable/Disable Secret Sync Config. + */ + enabled?: boolean | null; + /** + * Rotation config for secret manager. + */ + rotationConfig?: Schema$SyncRotationConfig; + } /** * SecurityBulletinEvent is a notification sent to customers when a security bulletin has been posted that they are vulnerable to. */ @@ -4591,6 +4612,19 @@ export namespace container_v1beta1 { */ message?: string | null; } + /** + * SyncRotationConfig is config for secret manager auto rotation. + */ + export interface Schema$SyncRotationConfig { + /** + * Whether the rotation is enabled. + */ + enabled?: boolean | null; + /** + * The interval between two consecutive rotations. Default rotation interval is 2 minutes. + */ + rotationInterval?: string | null; + } /** * Represents an arbitrary window of time. */ @@ -5201,6 +5235,15 @@ export namespace container_v1beta1 { */ autopilotCompatibilityAuditingEnabled?: boolean | null; } + /** + * Defines writable cgroups configuration. + */ + export interface Schema$WritableCgroups { + /** + * Optional. Whether writable cgroups is enabled. + */ + enabled?: boolean | null; + } export class Resource$Projects { context: APIRequestContext; @@ -6633,6 +6676,7 @@ export namespace container_v1beta1 { * // "satisfiesPzi": false, * // "satisfiesPzs": false, * // "secretManagerConfig": {}, + * // "secretSyncConfig": {}, * // "securityPostureConfig": {}, * // "selfLink": "my_selfLink", * // "servicesIpv4Cidr": "my_servicesIpv4Cidr", @@ -12953,6 +12997,7 @@ export namespace container_v1beta1 { * // "satisfiesPzi": false, * // "satisfiesPzs": false, * // "secretManagerConfig": {}, + * // "secretSyncConfig": {}, * // "securityPostureConfig": {}, * // "selfLink": "my_selfLink", * // "servicesIpv4Cidr": "my_servicesIpv4Cidr", diff --git a/src/apis/dataplex/v1.ts b/src/apis/dataplex/v1.ts index 109aa9931f0..17e455ee7e3 100644 --- a/src/apis/dataplex/v1.ts +++ b/src/apis/dataplex/v1.ts @@ -333,6 +333,10 @@ export namespace dataplex_v1 { * Output only. The time when the AspectType was created. */ createTime?: string | null; + /** + * Optional. Immutable. Stores data classification of the aspect. + */ + dataClassification?: string | null; /** * Optional. Description of the AspectType. */ @@ -7763,6 +7767,7 @@ export namespace dataplex_v1 { * // { * // "authorization": {}, * // "createTime": "my_createTime", + * // "dataClassification": "my_dataClassification", * // "description": "my_description", * // "displayName": "my_displayName", * // "etag": "my_etag", @@ -8070,6 +8075,7 @@ export namespace dataplex_v1 { * // { * // "authorization": {}, * // "createTime": "my_createTime", + * // "dataClassification": "my_dataClassification", * // "description": "my_description", * // "displayName": "my_displayName", * // "etag": "my_etag", @@ -8527,6 +8533,7 @@ export namespace dataplex_v1 { * // { * // "authorization": {}, * // "createTime": "my_createTime", + * // "dataClassification": "my_dataClassification", * // "description": "my_description", * // "displayName": "my_displayName", * // "etag": "my_etag", diff --git a/src/apis/dataproc/v1.ts b/src/apis/dataproc/v1.ts index 2343c60a0e4..226162c452b 100644 --- a/src/apis/dataproc/v1.ts +++ b/src/apis/dataproc/v1.ts @@ -1288,7 +1288,7 @@ export namespace dataproc_v1 { */ reservationAffinity?: Schema$ReservationAffinity; /** - * Optional. Resource manager tags (https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing) to add to all instances (see Use secure tags in Dataproc (https://cloud.google.com/dataproc/docs/guides/attach-secure-tags)). + * Optional. Resource manager tags (https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing) to add to all instances (see Use secure tags in Dataproc (https://cloud.google.com/dataproc/docs/guides/use-secure-tags)). */ resourceManagerTags?: {[key: string]: string} | null; /** @@ -2175,6 +2175,10 @@ export namespace dataproc_v1 { * A list of operations that matches the specified filter in the request. */ operations?: Schema$Operation[]; + /** + * Unordered list. Unreachable resources. Populated when the request sets ListOperationsRequest.return_partial_success and reads across collections e.g. when attempting to list all resources across all supported locations. + */ + unreachable?: string[] | null; } /** * A list of interactive sessions. @@ -4405,11 +4409,11 @@ export namespace dataproc_v1 { */ export interface Schema$UsageMetrics { /** - * Optional. Accelerator type being used, if any + * Optional. DEPRECATED Accelerator type being used, if any */ acceleratorType?: string | null; /** - * Optional. Accelerator usage in (milliAccelerator x seconds) (see Dataproc Serverless pricing (https://cloud.google.com/dataproc-serverless/pricing)). + * Optional. DEPRECATED Accelerator usage in (milliAccelerator x seconds) (see Dataproc Serverless pricing (https://cloud.google.com/dataproc-serverless/pricing)). */ milliAcceleratorSeconds?: string | null; /** @@ -4690,6 +4694,10 @@ export namespace dataproc_v1 { * A YARN application created by a job. Application information is a subset of org.apache.hadoop.yarn.proto.YarnProtos.ApplicationReportProto.Beta Feature: This report is available for testing purposes only. It may be changed before final release. */ export interface Schema$YarnApplication { + /** + * Optional. The cumulative memory usage of the application for a job, measured in mb-seconds. + */ + memoryMbSeconds?: string | null; /** * Required. The application name. */ @@ -4706,6 +4714,10 @@ export namespace dataproc_v1 { * Optional. The HTTP URL of the ApplicationMaster, HistoryServer, or TimelineServer that provides application-specific information. The URL uses the internal hostname, and requires a proxy server for resolution and, possibly, access. */ trackingUrl?: string | null; + /** + * Optional. The cumulative CPU time consumed by the application for a job, measured in vcore-seconds. + */ + vcoreSeconds?: string | null; } export class Resource$Projects { @@ -10848,13 +10860,16 @@ export namespace dataproc_v1 { * pageSize: 'placeholder-value', * // The standard list page token. * pageToken: 'placeholder-value', + * // When set to true, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field.This can only be true when reading across collections e.g. when parent is set to "projects/example/locations/-".This field is not by default supported and will result in an UNIMPLEMENTED error if set unless explicitly documented otherwise in service or product specific documentation. + * returnPartialSuccess: 'placeholder-value', * }); * console.log(res.data); * * // Example response * // { * // "nextPageToken": "my_nextPageToken", - * // "operations": [] + * // "operations": [], + * // "unreachable": [] * // } * } * @@ -10992,6 +11007,10 @@ export namespace dataproc_v1 { * The standard list page token. */ pageToken?: string; + /** + * When set to true, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field.This can only be true when reading across collections e.g. when parent is set to "projects/example/locations/-".This field is not by default supported and will result in an UNIMPLEMENTED error if set unless explicitly documented otherwise in service or product specific documentation. + */ + returnPartialSuccess?: boolean; } export class Resource$Projects$Locations$Sessions { @@ -24465,13 +24484,16 @@ export namespace dataproc_v1 { * pageSize: 'placeholder-value', * // The standard list page token. * pageToken: 'placeholder-value', + * // When set to true, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field.This can only be true when reading across collections e.g. when parent is set to "projects/example/locations/-".This field is not by default supported and will result in an UNIMPLEMENTED error if set unless explicitly documented otherwise in service or product specific documentation. + * returnPartialSuccess: 'placeholder-value', * }); * console.log(res.data); * * // Example response * // { * // "nextPageToken": "my_nextPageToken", - * // "operations": [] + * // "operations": [], + * // "unreachable": [] * // } * } * @@ -24918,6 +24940,10 @@ export namespace dataproc_v1 { * The standard list page token. */ pageToken?: string; + /** + * When set to true, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field.This can only be true when reading across collections e.g. when parent is set to "projects/example/locations/-".This field is not by default supported and will result in an UNIMPLEMENTED error if set unless explicitly documented otherwise in service or product specific documentation. + */ + returnPartialSuccess?: boolean; } export interface Params$Resource$Projects$Regions$Operations$Setiampolicy extends StandardParameters { diff --git a/src/apis/dfareporting/v4.ts b/src/apis/dfareporting/v4.ts index 49bbe8a92d7..3c0be6f9cc6 100644 --- a/src/apis/dfareporting/v4.ts +++ b/src/apis/dfareporting/v4.ts @@ -169,6 +169,8 @@ export namespace dfareporting_v4 { reports: Resource$Reports; sites: Resource$Sites; sizes: Resource$Sizes; + studioCreativeAssets: Resource$Studiocreativeassets; + studioCreatives: Resource$Studiocreatives; subaccounts: Resource$Subaccounts; targetableRemarketingLists: Resource$Targetableremarketinglists; targetingTemplates: Resource$Targetingtemplates; @@ -262,6 +264,10 @@ export namespace dfareporting_v4 { this.reports = new Resource$Reports(this.context); this.sites = new Resource$Sites(this.context); this.sizes = new Resource$Sizes(this.context); + this.studioCreativeAssets = new Resource$Studiocreativeassets( + this.context + ); + this.studioCreatives = new Resource$Studiocreatives(this.context); this.subaccounts = new Resource$Subaccounts(this.context); this.targetableRemarketingLists = new Resource$Targetableremarketinglists( this.context @@ -3163,6 +3169,23 @@ export namespace dfareporting_v4 { */ fieldId?: number | null; } + /** + * Request message for DfareportingStudioCreativeAssets.Insert. + */ + export interface Schema$DfareportingStudioCreativeAssetsInsertRequest { + /** + * Optional. Studio account ID of the studio creative asset. It is a optional. + */ + studioAccountId?: string | null; + /** + * Required. Studio advertiser ID of the studio creative asset. It is a required field on insertion. + */ + studioAdvertiserId?: string | null; + /** + * Optional. Studio creative ID of the studio creative asset. It is a optional field. If it is set, the asset will be associated to the creative. + */ + studioCreativeId?: string | null; + } /** * Google Ad Manager Settings */ @@ -3416,7 +3439,7 @@ export namespace dfareporting_v4 { studioAdvertiserId?: string | null; } /** - * Dynamic profile ID is required for dynamic feed insert as the current GPA API only can create a dynamic feed under profile context,even though the dynnamic feed itself don't need the dynamic profile id. See go/cm3-dco-display-api-interface + * Dynamic profile ID is required for dynamic feed insert as the current GPA API only can create a dynamic feed under profile context,even though the dynnamic feed itself don't need the dynamic profile id. See */ export interface Schema$DynamicFeedsInsertRequest { /** @@ -3494,6 +3517,15 @@ export namespace dfareporting_v4 { */ quantity?: number | null; } + /** + * Response message for DfareportingDynamicProfiles.GenerateCode. + */ + export interface Schema$DynamicProfileGenerateCodeResponse { + /** + * Generated code for the dynamic profile. + */ + code?: string | null; + } /** * Contains dynamic profile version information. */ @@ -6881,6 +6913,130 @@ export namespace dfareporting_v4 { */ sortOrder?: string | null; } + /** + * Contains studio creative information. + */ + export interface Schema$StudioCreative { + /** + * List of assets associated with this studio creative. It is a required field on insertion. + */ + assetIds?: string[] | null; + /** + * Backup image asset ID of this studio creative. + */ + backupImageAssetId?: string | null; + /** + * The timestamp when the studio creative was created. This is a read-only, auto-generated field. + */ + createdInfo?: Schema$LastModifiedInfo; + /** + * Dimension of this studio creative. This is a required field on insertion if format is BANNER or EXPANDING. + */ + dimension?: Schema$StudioCreativeDimension; + /** + * Dynamic profile ID of this studio creative. + */ + dynamicProfileId?: string | null; + /** + * Format of this studio creative. This is a required field on insertion. + */ + format?: string | null; + /** + * Output only. Unique ID of this studio creative. This is a read-only, auto-generated field. + */ + id?: string | null; + /** + * The timestamp when the studio creative was last modified. This is a read-only, auto-generated field. + */ + lastModifiedInfo?: Schema$LastModifiedInfo; + /** + * Identifier. Name of this studio creative. This is a required field on insertion. + */ + name?: string | null; + /** + * Output only. Status of this studio creative. It is a read-only field. + */ + status?: string | null; + /** + * Studio account ID of this creative. This field, if left unset, will be auto-populated. + */ + studioAccountId?: string | null; + /** + * Studio advertiser ID of this studio creative. This is a required field on insertion. + */ + studioAdvertiserId?: string | null; + /** + * Studio campaign ID of this studio creative. This is a required field on insertion. + */ + studioCampaignId?: string | null; + } + /** + * Contains studio creative asset information. + */ + export interface Schema$StudioCreativeAsset { + /** + * Output only. The creation timestamp of the studio creative asset. This is a read-only field. + */ + createInfo?: Schema$LastModifiedInfo; + /** + * The filename of the studio creative asset. It is default to the original filename of the asset. + */ + filename?: string | null; + /** + * The filesize of the studio creative asset. This is a read-only field. + */ + filesize?: string | null; + /** + * Output only. Unique ID of this studio creative asset. This is a read-only, auto-generated field. + */ + id?: string | null; + /** + * Output only. The last modified timestamp of the studio creative asset. This is a read-only field. + */ + lastModifiedInfo?: Schema$LastModifiedInfo; + /** + * Studio account ID of this studio creative asset. This field, if left unset, will be auto-populated.. + */ + studioAccountId?: string | null; + /** + * Studio advertiser ID of this studio creative asset. This is a required field on insertion. + */ + studioAdvertiserId?: string | null; + /** + * Studio creative ID of this studio creative asset. The asset will be associated to the creative if creative id is set. + */ + studioCreativeId?: string | null; + /** + * The type of the studio creative asset. It is a auto-generated, read-only field. + */ + type?: string | null; + /** + * The processing data of the studio creative asset. This is a read-only field. + */ + videoProcessingData?: Schema$VideoProcessingData; + } + /** + * Response message for DfareportingStudioCreativeAssets.Insert. + */ + export interface Schema$StudioCreativeAssetsResponse { + /** + * The list of studio creative assets. + */ + assets?: Schema$StudioCreativeAsset[]; + } + /** + * Dimension information for a studio creative. + */ + export interface Schema$StudioCreativeDimension { + /** + * Height of the studio creative. + */ + height?: number | null; + /** + * Width of the studio creative. + */ + width?: number | null; + } /** * Contains properties of a Campaign Manager subaccount. */ @@ -7573,6 +7729,19 @@ export namespace dfareporting_v4 { */ offsetSeconds?: number | null; } + /** + * Contains processing data for a video asset. + */ + export interface Schema$VideoProcessingData { + /** + * For a FAILED processing state, the error reason discovered. + */ + errorReason?: string | null; + /** + * Output only. The processing state of the studio creative asset. + */ + processingState?: string | null; + } /** * Video Settings */ @@ -24900,30 +25069,9 @@ export namespace dfareporting_v4 { return createAPIRequest(parameters); } } - } - - export interface Params$Resource$Dynamicfeeds$Get extends StandardParameters { - /** - * Required. Dynamic feed ID. - */ - dynamicFeedId?: string; - } - export interface Params$Resource$Dynamicfeeds$Insert - extends StandardParameters { - /** - * Request body metadata - */ - requestBody?: Schema$DynamicFeedsInsertRequest; - } - - export class Resource$Dynamicprofiles { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; - } /** - * Gets a dynamic profile by ID. + * Retransforms a dynamic feed. * @example * ```js * // Before running the sample: @@ -24952,23 +25100,23 @@ export namespace dfareporting_v4 { * google.options({auth: authClient}); * * // Do the magic - * const res = await dfareporting.dynamicProfiles.get({ - * // Required. Dynamic profile ID. - * dynamicProfileId: '[^/]+', + * const res = await dfareporting.dynamicFeeds.retransform({ + * // Required. Dynamic feed ID. + * dynamicFeedId: '[^/]+', * }); * console.log(res.data); * * // Example response * // { - * // "active": {}, - * // "archiveStatus": "my_archiveStatus", + * // "contentSource": {}, * // "createInfo": {}, - * // "description": "my_description", - * // "draft": {}, - * // "dynamicProfileId": "my_dynamicProfileId", - * // "kind": "my_kind", + * // "dynamicFeedId": "my_dynamicFeedId", + * // "dynamicFeedName": "my_dynamicFeedName", + * // "element": {}, + * // "feedIngestionStatus": {}, + * // "feedSchedule": {}, + * // "hasPublished": false, * // "lastModifiedInfo": {}, - * // "name": "my_name", * // "status": "my_status", * // "studioAdvertiserId": "my_studioAdvertiserId" * // } @@ -24986,53 +25134,53 @@ export namespace dfareporting_v4 { * @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$Dynamicprofiles$Get, + retransform( + params: Params$Resource$Dynamicfeeds$Retransform, options: StreamMethodOptions ): Promise>; - get( - params?: Params$Resource$Dynamicprofiles$Get, + retransform( + params?: Params$Resource$Dynamicfeeds$Retransform, options?: MethodOptions - ): Promise>; - get( - params: Params$Resource$Dynamicprofiles$Get, + ): Promise>; + retransform( + params: Params$Resource$Dynamicfeeds$Retransform, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Dynamicprofiles$Get, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + retransform( + params: Params$Resource$Dynamicfeeds$Retransform, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Dynamicprofiles$Get, - callback: BodyResponseCallback + retransform( + params: Params$Resource$Dynamicfeeds$Retransform, + callback: BodyResponseCallback ): void; - get(callback: BodyResponseCallback): void; - get( + retransform(callback: BodyResponseCallback): void; + retransform( paramsOrCallback?: - | Params$Resource$Dynamicprofiles$Get - | BodyResponseCallback + | Params$Resource$Dynamicfeeds$Retransform + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Dynamicprofiles$Get; + {}) as Params$Resource$Dynamicfeeds$Retransform; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Dynamicprofiles$Get; + params = {} as Params$Resource$Dynamicfeeds$Retransform; options = {}; } @@ -25047,30 +25195,30 @@ export namespace dfareporting_v4 { { url: ( rootUrl + - '/dfareporting/v4/studio/dynamicProfiles/{+dynamicProfileId}' + '/dfareporting/v4/studio/dynamicFeeds/{+dynamicFeedId}/retransform' ).replace(/([^:]\/)\/+/g, '$1'), - method: 'GET', + method: 'POST', apiVersion: '', }, options ), params, - requiredParams: ['dynamicProfileId'], - pathParams: ['dynamicProfileId'], + requiredParams: ['dynamicFeedId'], + pathParams: ['dynamicFeedId'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Inserts a new dynamic profile. + * Updates a new dynamic feed. * @example * ```js * // Before running the sample: @@ -25099,20 +25247,20 @@ export namespace dfareporting_v4 { * google.options({auth: authClient}); * * // Do the magic - * const res = await dfareporting.dynamicProfiles.insert({ + * const res = await dfareporting.dynamicFeeds.update({ * // Request body metadata * requestBody: { * // request body parameters * // { - * // "active": {}, - * // "archiveStatus": "my_archiveStatus", + * // "contentSource": {}, * // "createInfo": {}, - * // "description": "my_description", - * // "draft": {}, - * // "dynamicProfileId": "my_dynamicProfileId", - * // "kind": "my_kind", + * // "dynamicFeedId": "my_dynamicFeedId", + * // "dynamicFeedName": "my_dynamicFeedName", + * // "element": {}, + * // "feedIngestionStatus": {}, + * // "feedSchedule": {}, + * // "hasPublished": false, * // "lastModifiedInfo": {}, - * // "name": "my_name", * // "status": "my_status", * // "studioAdvertiserId": "my_studioAdvertiserId" * // } @@ -25122,15 +25270,15 @@ export namespace dfareporting_v4 { * * // Example response * // { - * // "active": {}, - * // "archiveStatus": "my_archiveStatus", + * // "contentSource": {}, * // "createInfo": {}, - * // "description": "my_description", - * // "draft": {}, - * // "dynamicProfileId": "my_dynamicProfileId", - * // "kind": "my_kind", + * // "dynamicFeedId": "my_dynamicFeedId", + * // "dynamicFeedName": "my_dynamicFeedName", + * // "element": {}, + * // "feedIngestionStatus": {}, + * // "feedSchedule": {}, + * // "hasPublished": false, * // "lastModifiedInfo": {}, - * // "name": "my_name", * // "status": "my_status", * // "studioAdvertiserId": "my_studioAdvertiserId" * // } @@ -25148,53 +25296,53 @@ export namespace dfareporting_v4 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - insert( - params: Params$Resource$Dynamicprofiles$Insert, + update( + params: Params$Resource$Dynamicfeeds$Update, options: StreamMethodOptions ): Promise>; - insert( - params?: Params$Resource$Dynamicprofiles$Insert, + update( + params?: Params$Resource$Dynamicfeeds$Update, options?: MethodOptions - ): Promise>; - insert( - params: Params$Resource$Dynamicprofiles$Insert, + ): Promise>; + update( + params: Params$Resource$Dynamicfeeds$Update, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - insert( - params: Params$Resource$Dynamicprofiles$Insert, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + update( + params: Params$Resource$Dynamicfeeds$Update, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - insert( - params: Params$Resource$Dynamicprofiles$Insert, - callback: BodyResponseCallback + update( + params: Params$Resource$Dynamicfeeds$Update, + callback: BodyResponseCallback ): void; - insert(callback: BodyResponseCallback): void; - insert( + update(callback: BodyResponseCallback): void; + update( paramsOrCallback?: - | Params$Resource$Dynamicprofiles$Insert - | BodyResponseCallback + | Params$Resource$Dynamicfeeds$Update + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Dynamicprofiles$Insert; + {}) as Params$Resource$Dynamicfeeds$Update; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Dynamicprofiles$Insert; + params = {} as Params$Resource$Dynamicfeeds$Update; options = {}; } @@ -25207,11 +25355,11 @@ export namespace dfareporting_v4 { const parameters = { options: Object.assign( { - url: (rootUrl + '/dfareporting/v4/studio/dynamicProfiles').replace( + url: (rootUrl + '/dfareporting/v4/studio/dynamicFeeds').replace( /([^:]\/)\/+/g, '$1' ), - method: 'POST', + method: 'PUT', apiVersion: '', }, options @@ -25222,17 +25370,52 @@ export namespace dfareporting_v4 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } + } + export interface Params$Resource$Dynamicfeeds$Get extends StandardParameters { /** - * Updates an existing dynamic profile. + * Required. Dynamic feed ID. + */ + dynamicFeedId?: string; + } + export interface Params$Resource$Dynamicfeeds$Insert + extends StandardParameters { + /** + * Request body metadata + */ + requestBody?: Schema$DynamicFeedsInsertRequest; + } + export interface Params$Resource$Dynamicfeeds$Retransform + extends StandardParameters { + /** + * Required. Dynamic feed ID. + */ + dynamicFeedId?: string; + } + export interface Params$Resource$Dynamicfeeds$Update + extends StandardParameters { + /** + * Request body metadata + */ + requestBody?: Schema$DynamicFeed; + } + + export class Resource$Dynamicprofiles { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Generates code for a dynamic profile. * @example * ```js * // Before running the sample: @@ -25261,40 +25444,15 @@ export namespace dfareporting_v4 { * google.options({auth: authClient}); * * // Do the magic - * const res = await dfareporting.dynamicProfiles.update({ - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "active": {}, - * // "archiveStatus": "my_archiveStatus", - * // "createInfo": {}, - * // "description": "my_description", - * // "draft": {}, - * // "dynamicProfileId": "my_dynamicProfileId", - * // "kind": "my_kind", - * // "lastModifiedInfo": {}, - * // "name": "my_name", - * // "status": "my_status", - * // "studioAdvertiserId": "my_studioAdvertiserId" - * // } - * }, + * const res = await dfareporting.dynamicProfiles.generateCode({ + * // Required. Dynamic profile ID. + * dynamicProfileId: '[^/]+', * }); * console.log(res.data); * * // Example response * // { - * // "active": {}, - * // "archiveStatus": "my_archiveStatus", - * // "createInfo": {}, - * // "description": "my_description", - * // "draft": {}, - * // "dynamicProfileId": "my_dynamicProfileId", - * // "kind": "my_kind", - * // "lastModifiedInfo": {}, - * // "name": "my_name", - * // "status": "my_status", - * // "studioAdvertiserId": "my_studioAdvertiserId" + * // "code": "my_code" * // } * } * @@ -25310,53 +25468,61 @@ export namespace dfareporting_v4 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - update( - params: Params$Resource$Dynamicprofiles$Update, + generateCode( + params: Params$Resource$Dynamicprofiles$Generatecode, options: StreamMethodOptions ): Promise>; - update( - params?: Params$Resource$Dynamicprofiles$Update, + generateCode( + params?: Params$Resource$Dynamicprofiles$Generatecode, options?: MethodOptions - ): Promise>; - update( - params: Params$Resource$Dynamicprofiles$Update, + ): Promise< + GaxiosResponseWithHTTP2 + >; + generateCode( + params: Params$Resource$Dynamicprofiles$Generatecode, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - update( - params: Params$Resource$Dynamicprofiles$Update, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + generateCode( + params: Params$Resource$Dynamicprofiles$Generatecode, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - update( - params: Params$Resource$Dynamicprofiles$Update, - callback: BodyResponseCallback + generateCode( + params: Params$Resource$Dynamicprofiles$Generatecode, + callback: BodyResponseCallback ): void; - update(callback: BodyResponseCallback): void; - update( + generateCode( + callback: BodyResponseCallback + ): void; + generateCode( paramsOrCallback?: - | Params$Resource$Dynamicprofiles$Update - | BodyResponseCallback + | Params$Resource$Dynamicprofiles$Generatecode + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise< + GaxiosResponseWithHTTP2 + > | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Dynamicprofiles$Update; + {}) as Params$Resource$Dynamicprofiles$Generatecode; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Dynamicprofiles$Update; + params = {} as Params$Resource$Dynamicprofiles$Generatecode; options = {}; } @@ -25369,61 +25535,34 @@ export namespace dfareporting_v4 { const parameters = { options: Object.assign( { - url: (rootUrl + '/dfareporting/v4/studio/dynamicProfiles').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'PUT', + url: ( + rootUrl + + '/dfareporting/v4/studio/dynamicProfiles/{+dynamicProfileId}/generateCode' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', apiVersion: '', }, options ), params, - requiredParams: [], - pathParams: [], + requiredParams: ['dynamicProfileId'], + pathParams: ['dynamicProfileId'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest( + parameters + ); } } - } - - export interface Params$Resource$Dynamicprofiles$Get - extends StandardParameters { - /** - * Required. Dynamic profile ID. - */ - dynamicProfileId?: string; - } - export interface Params$Resource$Dynamicprofiles$Insert - extends StandardParameters { - /** - * Request body metadata - */ - requestBody?: Schema$DynamicProfile; - } - export interface Params$Resource$Dynamicprofiles$Update - extends StandardParameters { - /** - * Request body metadata - */ - requestBody?: Schema$DynamicProfile; - } - - export class Resource$Dynamictargetingkeys { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; - } /** - * Deletes an existing dynamic targeting key. + * Gets a dynamic profile by ID. * @example * ```js * // Before running the sample: @@ -25452,17 +25591,26 @@ export namespace dfareporting_v4 { * google.options({auth: authClient}); * * // Do the magic - * const res = await dfareporting.dynamicTargetingKeys.delete({ - * // Required. Name of this dynamic targeting key. This is a required field. Must be less than 256 characters long and cannot contain commas. All characters are converted to lowercase. - * name: 'placeholder-value', - * // ID of the object of this dynamic targeting key. This is a required field. - * objectId: '[^/]+', - * // Required. Type of the object of this dynamic targeting key. This is a required field. - * objectType: 'placeholder-value', - * // User profile ID associated with this request. - * profileId: '[^/]+', + * const res = await dfareporting.dynamicProfiles.get({ + * // Required. Dynamic profile ID. + * dynamicProfileId: '[^/]+', * }); * console.log(res.data); + * + * // Example response + * // { + * // "active": {}, + * // "archiveStatus": "my_archiveStatus", + * // "createInfo": {}, + * // "description": "my_description", + * // "draft": {}, + * // "dynamicProfileId": "my_dynamicProfileId", + * // "kind": "my_kind", + * // "lastModifiedInfo": {}, + * // "name": "my_name", + * // "status": "my_status", + * // "studioAdvertiserId": "my_studioAdvertiserId" + * // } * } * * main().catch(e => { @@ -25477,51 +25625,53 @@ export namespace dfareporting_v4 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - delete( - params: Params$Resource$Dynamictargetingkeys$Delete, + get( + params: Params$Resource$Dynamicprofiles$Get, options: StreamMethodOptions ): Promise>; - delete( - params?: Params$Resource$Dynamictargetingkeys$Delete, + get( + params?: Params$Resource$Dynamicprofiles$Get, options?: MethodOptions - ): Promise>; - delete( - params: Params$Resource$Dynamictargetingkeys$Delete, + ): Promise>; + get( + params: Params$Resource$Dynamicprofiles$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Dynamictargetingkeys$Delete, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + get( + params: Params$Resource$Dynamicprofiles$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Dynamictargetingkeys$Delete, - callback: BodyResponseCallback + get( + params: Params$Resource$Dynamicprofiles$Get, + callback: BodyResponseCallback ): void; - delete(callback: BodyResponseCallback): void; - delete( + get(callback: BodyResponseCallback): void; + get( paramsOrCallback?: - | Params$Resource$Dynamictargetingkeys$Delete - | BodyResponseCallback + | Params$Resource$Dynamicprofiles$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, - callback?: BodyResponseCallback | BodyResponseCallback + callback?: + | BodyResponseCallback + | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Dynamictargetingkeys$Delete; + {}) as Params$Resource$Dynamicprofiles$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Dynamictargetingkeys$Delete; + params = {} as Params$Resource$Dynamicprofiles$Get; options = {}; } @@ -25536,30 +25686,30 @@ export namespace dfareporting_v4 { { url: ( rootUrl + - '/dfareporting/v4/userprofiles/{+profileId}/dynamicTargetingKeys/{+objectId}' + '/dfareporting/v4/studio/dynamicProfiles/{+dynamicProfileId}' ).replace(/([^:]\/)\/+/g, '$1'), - method: 'DELETE', + method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['profileId', 'objectId', 'name', 'objectType'], - pathParams: ['objectId', 'profileId'], + requiredParams: ['dynamicProfileId'], + pathParams: ['dynamicProfileId'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Inserts a new dynamic targeting key. Keys must be created at the advertiser level before being assigned to the advertiser's ads, creatives, or placements. There is a maximum of 1000 keys per advertiser, out of which a maximum of 20 keys can be assigned per ad, creative, or placement. + * Inserts a new dynamic profile. * @example * ```js * // Before running the sample: @@ -25588,18 +25738,22 @@ export namespace dfareporting_v4 { * google.options({auth: authClient}); * * // Do the magic - * const res = await dfareporting.dynamicTargetingKeys.insert({ - * // User profile ID associated with this request. - * profileId: '[^/]+', - * + * const res = await dfareporting.dynamicProfiles.insert({ * // Request body metadata * requestBody: { * // request body parameters * // { + * // "active": {}, + * // "archiveStatus": "my_archiveStatus", + * // "createInfo": {}, + * // "description": "my_description", + * // "draft": {}, + * // "dynamicProfileId": "my_dynamicProfileId", * // "kind": "my_kind", + * // "lastModifiedInfo": {}, * // "name": "my_name", - * // "objectId": "my_objectId", - * // "objectType": "my_objectType" + * // "status": "my_status", + * // "studioAdvertiserId": "my_studioAdvertiserId" * // } * }, * }); @@ -25607,10 +25761,17 @@ export namespace dfareporting_v4 { * * // Example response * // { + * // "active": {}, + * // "archiveStatus": "my_archiveStatus", + * // "createInfo": {}, + * // "description": "my_description", + * // "draft": {}, + * // "dynamicProfileId": "my_dynamicProfileId", * // "kind": "my_kind", + * // "lastModifiedInfo": {}, * // "name": "my_name", - * // "objectId": "my_objectId", - * // "objectType": "my_objectType" + * // "status": "my_status", + * // "studioAdvertiserId": "my_studioAdvertiserId" * // } * } * @@ -25627,52 +25788,52 @@ export namespace dfareporting_v4 { * @returns A promise if used with async/await, or void if used with a callback. */ insert( - params: Params$Resource$Dynamictargetingkeys$Insert, + params: Params$Resource$Dynamicprofiles$Insert, options: StreamMethodOptions ): Promise>; insert( - params?: Params$Resource$Dynamictargetingkeys$Insert, + params?: Params$Resource$Dynamicprofiles$Insert, options?: MethodOptions - ): Promise>; + ): Promise>; insert( - params: Params$Resource$Dynamictargetingkeys$Insert, + params: Params$Resource$Dynamicprofiles$Insert, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; insert( - params: Params$Resource$Dynamictargetingkeys$Insert, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + params: Params$Resource$Dynamicprofiles$Insert, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; insert( - params: Params$Resource$Dynamictargetingkeys$Insert, - callback: BodyResponseCallback + params: Params$Resource$Dynamicprofiles$Insert, + callback: BodyResponseCallback ): void; - insert(callback: BodyResponseCallback): void; + insert(callback: BodyResponseCallback): void; insert( paramsOrCallback?: - | Params$Resource$Dynamictargetingkeys$Insert - | BodyResponseCallback + | Params$Resource$Dynamicprofiles$Insert + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Dynamictargetingkeys$Insert; + {}) as Params$Resource$Dynamicprofiles$Insert; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Dynamictargetingkeys$Insert; + params = {} as Params$Resource$Dynamicprofiles$Insert; options = {}; } @@ -25685,32 +25846,32 @@ export namespace dfareporting_v4 { const parameters = { options: Object.assign( { - url: ( - rootUrl + - '/dfareporting/v4/userprofiles/{+profileId}/dynamicTargetingKeys' - ).replace(/([^:]\/)\/+/g, '$1'), + url: (rootUrl + '/dfareporting/v4/studio/dynamicProfiles').replace( + /([^:]\/)\/+/g, + '$1' + ), method: 'POST', apiVersion: '', }, options ), params, - requiredParams: ['profileId'], - pathParams: ['profileId'], + requiredParams: [], + pathParams: [], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Retrieves a list of dynamic targeting keys. + * Publish for a dynamic profile. * @example * ```js * // Before running the sample: @@ -25739,25 +25900,11 @@ export namespace dfareporting_v4 { * google.options({auth: authClient}); * * // Do the magic - * const res = await dfareporting.dynamicTargetingKeys.list({ - * // Select only dynamic targeting keys whose object has this advertiser ID. - * advertiserId: 'placeholder-value', - * // Select only dynamic targeting keys exactly matching these names. - * names: 'placeholder-value', - * // Select only dynamic targeting keys with this object ID. - * objectId: 'placeholder-value', - * // Select only dynamic targeting keys with this object type. - * objectType: 'placeholder-value', - * // User profile ID associated with this request. - * profileId: '[^/]+', + * const res = await dfareporting.dynamicProfiles.publish({ + * // Required. Dynamic profile ID. + * dynamicProfileId: '[^/]+', * }); * console.log(res.data); - * - * // Example response - * // { - * // "dynamicTargetingKeys": [], - * // "kind": "my_kind" - * // } * } * * main().catch(e => { @@ -25772,61 +25919,51 @@ export namespace dfareporting_v4 { * @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$Dynamictargetingkeys$List, + publish( + params: Params$Resource$Dynamicprofiles$Publish, options: StreamMethodOptions ): Promise>; - list( - params?: Params$Resource$Dynamictargetingkeys$List, + publish( + params?: Params$Resource$Dynamicprofiles$Publish, options?: MethodOptions - ): Promise< - GaxiosResponseWithHTTP2 - >; - list( - params: Params$Resource$Dynamictargetingkeys$List, + ): Promise>; + publish( + params: Params$Resource$Dynamicprofiles$Publish, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Dynamictargetingkeys$List, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - list( - params: Params$Resource$Dynamictargetingkeys$List, - callback: BodyResponseCallback + publish( + params: Params$Resource$Dynamicprofiles$Publish, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - list( - callback: BodyResponseCallback + publish( + params: Params$Resource$Dynamicprofiles$Publish, + callback: BodyResponseCallback ): void; - list( + publish(callback: BodyResponseCallback): void; + publish( paramsOrCallback?: - | Params$Resource$Dynamictargetingkeys$List - | BodyResponseCallback + | Params$Resource$Dynamicprofiles$Publish + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback + callback?: BodyResponseCallback | BodyResponseCallback ): | void - | Promise< - GaxiosResponseWithHTTP2 - > + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Dynamictargetingkeys$List; + {}) as Params$Resource$Dynamicprofiles$Publish; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Dynamictargetingkeys$List; + params = {} as Params$Resource$Dynamicprofiles$Publish; options = {}; } @@ -25841,94 +25978,30 @@ export namespace dfareporting_v4 { { url: ( rootUrl + - '/dfareporting/v4/userprofiles/{+profileId}/dynamicTargetingKeys' + '/dfareporting/v4/studio/dynamicProfiles/{+dynamicProfileId}/publish' ).replace(/([^:]\/)\/+/g, '$1'), - method: 'GET', + method: 'POST', apiVersion: '', }, options ), params, - requiredParams: ['profileId'], - pathParams: ['profileId'], + requiredParams: ['dynamicProfileId'], + pathParams: ['dynamicProfileId'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( - parameters - ); + return createAPIRequest(parameters); } } - } - - export interface Params$Resource$Dynamictargetingkeys$Delete - extends StandardParameters { - /** - * Required. Name of this dynamic targeting key. This is a required field. Must be less than 256 characters long and cannot contain commas. All characters are converted to lowercase. - */ - name?: string; - /** - * ID of the object of this dynamic targeting key. This is a required field. - */ - objectId?: string; - /** - * Required. Type of the object of this dynamic targeting key. This is a required field. - */ - objectType?: string; - /** - * User profile ID associated with this request. - */ - profileId?: string; - } - export interface Params$Resource$Dynamictargetingkeys$Insert - extends StandardParameters { - /** - * User profile ID associated with this request. - */ - profileId?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$DynamicTargetingKey; - } - export interface Params$Resource$Dynamictargetingkeys$List - extends StandardParameters { - /** - * Select only dynamic targeting keys whose object has this advertiser ID. - */ - advertiserId?: string; - /** - * Select only dynamic targeting keys exactly matching these names. - */ - names?: string[]; - /** - * Select only dynamic targeting keys with this object ID. - */ - objectId?: string; - /** - * Select only dynamic targeting keys with this object type. - */ - objectType?: string; - /** - * User profile ID associated with this request. - */ - profileId?: string; - } - - export class Resource$Eventtags { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; - } /** - * Deletes an existing event tag. + * Updates an existing dynamic profile. * @example * ```js * // Before running the sample: @@ -25957,13 +26030,41 @@ export namespace dfareporting_v4 { * google.options({auth: authClient}); * * // Do the magic - * const res = await dfareporting.eventTags.delete({ - * // Event tag ID. - * id: '[^/]+', - * // User profile ID associated with this request. - * profileId: '[^/]+', + * const res = await dfareporting.dynamicProfiles.update({ + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "active": {}, + * // "archiveStatus": "my_archiveStatus", + * // "createInfo": {}, + * // "description": "my_description", + * // "draft": {}, + * // "dynamicProfileId": "my_dynamicProfileId", + * // "kind": "my_kind", + * // "lastModifiedInfo": {}, + * // "name": "my_name", + * // "status": "my_status", + * // "studioAdvertiserId": "my_studioAdvertiserId" + * // } + * }, * }); * console.log(res.data); + * + * // Example response + * // { + * // "active": {}, + * // "archiveStatus": "my_archiveStatus", + * // "createInfo": {}, + * // "description": "my_description", + * // "draft": {}, + * // "dynamicProfileId": "my_dynamicProfileId", + * // "kind": "my_kind", + * // "lastModifiedInfo": {}, + * // "name": "my_name", + * // "status": "my_status", + * // "studioAdvertiserId": "my_studioAdvertiserId" + * // } * } * * main().catch(e => { @@ -25978,50 +26079,53 @@ export namespace dfareporting_v4 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - delete( - params: Params$Resource$Eventtags$Delete, + update( + params: Params$Resource$Dynamicprofiles$Update, options: StreamMethodOptions ): Promise>; - delete( - params?: Params$Resource$Eventtags$Delete, + update( + params?: Params$Resource$Dynamicprofiles$Update, options?: MethodOptions - ): Promise>; - delete( - params: Params$Resource$Eventtags$Delete, + ): Promise>; + update( + params: Params$Resource$Dynamicprofiles$Update, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Eventtags$Delete, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + update( + params: Params$Resource$Dynamicprofiles$Update, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Eventtags$Delete, - callback: BodyResponseCallback + update( + params: Params$Resource$Dynamicprofiles$Update, + callback: BodyResponseCallback ): void; - delete(callback: BodyResponseCallback): void; - delete( + update(callback: BodyResponseCallback): void; + update( paramsOrCallback?: - | Params$Resource$Eventtags$Delete - | BodyResponseCallback + | Params$Resource$Dynamicprofiles$Update + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, - callback?: BodyResponseCallback | BodyResponseCallback + callback?: + | BodyResponseCallback + | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { - let params = (paramsOrCallback || {}) as Params$Resource$Eventtags$Delete; + let params = (paramsOrCallback || + {}) as Params$Resource$Dynamicprofiles$Update; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Eventtags$Delete; + params = {} as Params$Resource$Dynamicprofiles$Update; options = {}; } @@ -26034,32 +26138,75 @@ export namespace dfareporting_v4 { const parameters = { options: Object.assign( { - url: ( - rootUrl + - '/dfareporting/v4/userprofiles/{+profileId}/eventTags/{+id}' - ).replace(/([^:]\/)\/+/g, '$1'), - method: 'DELETE', + url: (rootUrl + '/dfareporting/v4/studio/dynamicProfiles').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'PUT', apiVersion: '', }, options ), params, - requiredParams: ['profileId', 'id'], - pathParams: ['id', 'profileId'], + requiredParams: [], + pathParams: [], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } + } + export interface Params$Resource$Dynamicprofiles$Generatecode + extends StandardParameters { /** - * Gets one event tag by ID. + * Required. Dynamic profile ID. + */ + dynamicProfileId?: string; + } + export interface Params$Resource$Dynamicprofiles$Get + extends StandardParameters { + /** + * Required. Dynamic profile ID. + */ + dynamicProfileId?: string; + } + export interface Params$Resource$Dynamicprofiles$Insert + extends StandardParameters { + /** + * Request body metadata + */ + requestBody?: Schema$DynamicProfile; + } + export interface Params$Resource$Dynamicprofiles$Publish + extends StandardParameters { + /** + * Required. Dynamic profile ID. + */ + dynamicProfileId?: string; + } + export interface Params$Resource$Dynamicprofiles$Update + extends StandardParameters { + /** + * Request body metadata + */ + requestBody?: Schema$DynamicProfile; + } + + export class Resource$Dynamictargetingkeys { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Deletes an existing dynamic targeting key. * @example * ```js * // Before running the sample: @@ -26088,35 +26235,17 @@ export namespace dfareporting_v4 { * google.options({auth: authClient}); * * // Do the magic - * const res = await dfareporting.eventTags.get({ - * // Event tag ID. - * id: '[^/]+', + * const res = await dfareporting.dynamicTargetingKeys.delete({ + * // Required. Name of this dynamic targeting key. This is a required field. Must be less than 256 characters long and cannot contain commas. All characters are converted to lowercase. + * name: 'placeholder-value', + * // ID of the object of this dynamic targeting key. This is a required field. + * objectId: '[^/]+', + * // Required. Type of the object of this dynamic targeting key. This is a required field. + * objectType: 'placeholder-value', * // User profile ID associated with this request. * profileId: '[^/]+', * }); * console.log(res.data); - * - * // Example response - * // { - * // "accountId": "my_accountId", - * // "advertiserId": "my_advertiserId", - * // "advertiserIdDimensionValue": {}, - * // "campaignId": "my_campaignId", - * // "campaignIdDimensionValue": {}, - * // "enabledByDefault": false, - * // "excludeFromAdxRequests": false, - * // "id": "my_id", - * // "kind": "my_kind", - * // "name": "my_name", - * // "siteFilterType": "my_siteFilterType", - * // "siteIds": [], - * // "sslCompliant": false, - * // "status": "my_status", - * // "subaccountId": "my_subaccountId", - * // "type": "my_type", - * // "url": "my_url", - * // "urlEscapeLevels": 0 - * // } * } * * main().catch(e => { @@ -26131,52 +26260,51 @@ export namespace dfareporting_v4 { * @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$Eventtags$Get, + delete( + params: Params$Resource$Dynamictargetingkeys$Delete, options: StreamMethodOptions ): Promise>; - get( - params?: Params$Resource$Eventtags$Get, + delete( + params?: Params$Resource$Dynamictargetingkeys$Delete, options?: MethodOptions - ): Promise>; - get( - params: Params$Resource$Eventtags$Get, + ): Promise>; + delete( + params: Params$Resource$Dynamictargetingkeys$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Eventtags$Get, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + delete( + params: Params$Resource$Dynamictargetingkeys$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Eventtags$Get, - callback: BodyResponseCallback + delete( + params: Params$Resource$Dynamictargetingkeys$Delete, + callback: BodyResponseCallback ): void; - get(callback: BodyResponseCallback): void; - get( + delete(callback: BodyResponseCallback): void; + delete( paramsOrCallback?: - | Params$Resource$Eventtags$Get - | BodyResponseCallback + | Params$Resource$Dynamictargetingkeys$Delete + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback + callback?: BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { - let params = (paramsOrCallback || {}) as Params$Resource$Eventtags$Get; + let params = (paramsOrCallback || + {}) as Params$Resource$Dynamictargetingkeys$Delete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Eventtags$Get; + params = {} as Params$Resource$Dynamictargetingkeys$Delete; options = {}; } @@ -26191,30 +26319,30 @@ export namespace dfareporting_v4 { { url: ( rootUrl + - '/dfareporting/v4/userprofiles/{+profileId}/eventTags/{+id}' + '/dfareporting/v4/userprofiles/{+profileId}/dynamicTargetingKeys/{+objectId}' ).replace(/([^:]\/)\/+/g, '$1'), - method: 'GET', + method: 'DELETE', apiVersion: '', }, options ), params, - requiredParams: ['profileId', 'id'], - pathParams: ['id', 'profileId'], + requiredParams: ['profileId', 'objectId', 'name', 'objectType'], + pathParams: ['objectId', 'profileId'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Inserts a new event tag. + * Inserts a new dynamic targeting key. Keys must be created at the advertiser level before being assigned to the advertiser's ads, creatives, or placements. There is a maximum of 1000 keys per advertiser, out of which a maximum of 20 keys can be assigned per ad, creative, or placement. * @example * ```js * // Before running the sample: @@ -26243,7 +26371,7 @@ export namespace dfareporting_v4 { * google.options({auth: authClient}); * * // Do the magic - * const res = await dfareporting.eventTags.insert({ + * const res = await dfareporting.dynamicTargetingKeys.insert({ * // User profile ID associated with this request. * profileId: '[^/]+', * @@ -26251,24 +26379,10 @@ export namespace dfareporting_v4 { * requestBody: { * // request body parameters * // { - * // "accountId": "my_accountId", - * // "advertiserId": "my_advertiserId", - * // "advertiserIdDimensionValue": {}, - * // "campaignId": "my_campaignId", - * // "campaignIdDimensionValue": {}, - * // "enabledByDefault": false, - * // "excludeFromAdxRequests": false, - * // "id": "my_id", * // "kind": "my_kind", * // "name": "my_name", - * // "siteFilterType": "my_siteFilterType", - * // "siteIds": [], - * // "sslCompliant": false, - * // "status": "my_status", - * // "subaccountId": "my_subaccountId", - * // "type": "my_type", - * // "url": "my_url", - * // "urlEscapeLevels": 0 + * // "objectId": "my_objectId", + * // "objectType": "my_objectType" * // } * }, * }); @@ -26276,24 +26390,10 @@ export namespace dfareporting_v4 { * * // Example response * // { - * // "accountId": "my_accountId", - * // "advertiserId": "my_advertiserId", - * // "advertiserIdDimensionValue": {}, - * // "campaignId": "my_campaignId", - * // "campaignIdDimensionValue": {}, - * // "enabledByDefault": false, - * // "excludeFromAdxRequests": false, - * // "id": "my_id", * // "kind": "my_kind", * // "name": "my_name", - * // "siteFilterType": "my_siteFilterType", - * // "siteIds": [], - * // "sslCompliant": false, - * // "status": "my_status", - * // "subaccountId": "my_subaccountId", - * // "type": "my_type", - * // "url": "my_url", - * // "urlEscapeLevels": 0 + * // "objectId": "my_objectId", + * // "objectType": "my_objectType" * // } * } * @@ -26310,51 +26410,52 @@ export namespace dfareporting_v4 { * @returns A promise if used with async/await, or void if used with a callback. */ insert( - params: Params$Resource$Eventtags$Insert, + params: Params$Resource$Dynamictargetingkeys$Insert, options: StreamMethodOptions ): Promise>; insert( - params?: Params$Resource$Eventtags$Insert, + params?: Params$Resource$Dynamictargetingkeys$Insert, options?: MethodOptions - ): Promise>; + ): Promise>; insert( - params: Params$Resource$Eventtags$Insert, + params: Params$Resource$Dynamictargetingkeys$Insert, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; insert( - params: Params$Resource$Eventtags$Insert, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + params: Params$Resource$Dynamictargetingkeys$Insert, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; insert( - params: Params$Resource$Eventtags$Insert, - callback: BodyResponseCallback + params: Params$Resource$Dynamictargetingkeys$Insert, + callback: BodyResponseCallback ): void; - insert(callback: BodyResponseCallback): void; + insert(callback: BodyResponseCallback): void; insert( paramsOrCallback?: - | Params$Resource$Eventtags$Insert - | BodyResponseCallback + | Params$Resource$Dynamictargetingkeys$Insert + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { - let params = (paramsOrCallback || {}) as Params$Resource$Eventtags$Insert; + let params = (paramsOrCallback || + {}) as Params$Resource$Dynamictargetingkeys$Insert; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Eventtags$Insert; + params = {} as Params$Resource$Dynamictargetingkeys$Insert; options = {}; } @@ -26368,7 +26469,8 @@ export namespace dfareporting_v4 { options: Object.assign( { url: ( - rootUrl + '/dfareporting/v4/userprofiles/{+profileId}/eventTags' + rootUrl + + '/dfareporting/v4/userprofiles/{+profileId}/dynamicTargetingKeys' ).replace(/([^:]\/)\/+/g, '$1'), method: 'POST', apiVersion: '', @@ -26381,17 +26483,17 @@ export namespace dfareporting_v4 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Retrieves a list of event tags, possibly filtered. + * Retrieves a list of dynamic targeting keys. * @example * ```js * // Before running the sample: @@ -26420,35 +26522,23 @@ export namespace dfareporting_v4 { * google.options({auth: authClient}); * * // Do the magic - * const res = await dfareporting.eventTags.list({ - * // Select only event tags that belong to this ad. - * adId: 'placeholder-value', - * // Select only event tags that belong to this advertiser. + * const res = await dfareporting.dynamicTargetingKeys.list({ + * // Select only dynamic targeting keys whose object has this advertiser ID. * advertiserId: 'placeholder-value', - * // Select only event tags that belong to this campaign. - * campaignId: 'placeholder-value', - * // Examine only the specified campaign or advertiser's event tags for matching selector criteria. When set to false, the parent advertiser and parent campaign of the specified ad or campaign is examined as well. In addition, when set to false, the status field is examined as well, along with the enabledByDefault field. This parameter can not be set to true when adId is specified as ads do not define their own even tags. - * definitionsOnly: 'placeholder-value', - * // Select only enabled event tags. What is considered enabled or disabled depends on the definitionsOnly parameter. When definitionsOnly is set to true, only the specified advertiser or campaign's event tags' enabledByDefault field is examined. When definitionsOnly is set to false, the specified ad or specified campaign's parent advertiser's or parent campaign's event tags' enabledByDefault and status fields are examined as well. - * enabled: 'placeholder-value', - * // Select only event tags with the specified event tag types. Event tag types can be used to specify whether to use a third-party pixel, a third-party JavaScript URL, or a third-party click-through URL for either impression or click tracking. - * eventTagTypes: 'placeholder-value', - * // Select only event tags with these IDs. - * ids: 'placeholder-value', + * // Select only dynamic targeting keys exactly matching these names. + * names: 'placeholder-value', + * // Select only dynamic targeting keys with this object ID. + * objectId: 'placeholder-value', + * // Select only dynamic targeting keys with this object type. + * objectType: 'placeholder-value', * // User profile ID associated with this request. * profileId: '[^/]+', - * // Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "eventtag*2015" will return objects with names like "eventtag June 2015", "eventtag April 2015", or simply "eventtag 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "eventtag" will match objects with name "my eventtag", "eventtag 2015", or simply "eventtag". - * searchString: 'placeholder-value', - * // Field by which to sort the list. - * sortField: 'placeholder-value', - * // Order of sorted results. - * sortOrder: 'placeholder-value', * }); * console.log(res.data); * * // Example response * // { - * // "eventTags": [], + * // "dynamicTargetingKeys": [], * // "kind": "my_kind" * // } * } @@ -26466,53 +26556,60 @@ export namespace dfareporting_v4 { * @returns A promise if used with async/await, or void if used with a callback. */ list( - params: Params$Resource$Eventtags$List, + params: Params$Resource$Dynamictargetingkeys$List, options: StreamMethodOptions ): Promise>; list( - params?: Params$Resource$Eventtags$List, + params?: Params$Resource$Dynamictargetingkeys$List, options?: MethodOptions - ): Promise>; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( - params: Params$Resource$Eventtags$List, + params: Params$Resource$Dynamictargetingkeys$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; list( - params: Params$Resource$Eventtags$List, + params: Params$Resource$Dynamictargetingkeys$List, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; list( - params: Params$Resource$Eventtags$List, - callback: BodyResponseCallback + params: Params$Resource$Dynamictargetingkeys$List, + callback: BodyResponseCallback + ): void; + list( + callback: BodyResponseCallback ): void; - list(callback: BodyResponseCallback): void; list( paramsOrCallback?: - | Params$Resource$Eventtags$List - | BodyResponseCallback + | Params$Resource$Dynamictargetingkeys$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise< + GaxiosResponseWithHTTP2 + > | Promise> { - let params = (paramsOrCallback || {}) as Params$Resource$Eventtags$List; + let params = (paramsOrCallback || + {}) as Params$Resource$Dynamictargetingkeys$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Eventtags$List; + params = {} as Params$Resource$Dynamictargetingkeys$List; options = {}; } @@ -26526,7 +26623,8 @@ export namespace dfareporting_v4 { options: Object.assign( { url: ( - rootUrl + '/dfareporting/v4/userprofiles/{+profileId}/eventTags' + rootUrl + + '/dfareporting/v4/userprofiles/{+profileId}/dynamicTargetingKeys' ).replace(/([^:]\/)\/+/g, '$1'), method: 'GET', apiVersion: '', @@ -26539,17 +26637,81 @@ export namespace dfareporting_v4 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest( + parameters + ); } } + } + export interface Params$Resource$Dynamictargetingkeys$Delete + extends StandardParameters { /** - * Updates an existing event tag. This method supports patch semantics. + * Required. Name of this dynamic targeting key. This is a required field. Must be less than 256 characters long and cannot contain commas. All characters are converted to lowercase. + */ + name?: string; + /** + * ID of the object of this dynamic targeting key. This is a required field. + */ + objectId?: string; + /** + * Required. Type of the object of this dynamic targeting key. This is a required field. + */ + objectType?: string; + /** + * User profile ID associated with this request. + */ + profileId?: string; + } + export interface Params$Resource$Dynamictargetingkeys$Insert + extends StandardParameters { + /** + * User profile ID associated with this request. + */ + profileId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$DynamicTargetingKey; + } + export interface Params$Resource$Dynamictargetingkeys$List + extends StandardParameters { + /** + * Select only dynamic targeting keys whose object has this advertiser ID. + */ + advertiserId?: string; + /** + * Select only dynamic targeting keys exactly matching these names. + */ + names?: string[]; + /** + * Select only dynamic targeting keys with this object ID. + */ + objectId?: string; + /** + * Select only dynamic targeting keys with this object type. + */ + objectType?: string; + /** + * User profile ID associated with this request. + */ + profileId?: string; + } + + export class Resource$Eventtags { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Deletes an existing event tag. * @example * ```js * // Before running the sample: @@ -26578,60 +26740,13 @@ export namespace dfareporting_v4 { * google.options({auth: authClient}); * * // Do the magic - * const res = await dfareporting.eventTags.patch({ - * // Required. EventTag ID. - * id: 'placeholder-value', + * const res = await dfareporting.eventTags.delete({ + * // Event tag ID. + * id: '[^/]+', * // User profile ID associated with this request. * profileId: '[^/]+', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "accountId": "my_accountId", - * // "advertiserId": "my_advertiserId", - * // "advertiserIdDimensionValue": {}, - * // "campaignId": "my_campaignId", - * // "campaignIdDimensionValue": {}, - * // "enabledByDefault": false, - * // "excludeFromAdxRequests": false, - * // "id": "my_id", - * // "kind": "my_kind", - * // "name": "my_name", - * // "siteFilterType": "my_siteFilterType", - * // "siteIds": [], - * // "sslCompliant": false, - * // "status": "my_status", - * // "subaccountId": "my_subaccountId", - * // "type": "my_type", - * // "url": "my_url", - * // "urlEscapeLevels": 0 - * // } - * }, * }); * console.log(res.data); - * - * // Example response - * // { - * // "accountId": "my_accountId", - * // "advertiserId": "my_advertiserId", - * // "advertiserIdDimensionValue": {}, - * // "campaignId": "my_campaignId", - * // "campaignIdDimensionValue": {}, - * // "enabledByDefault": false, - * // "excludeFromAdxRequests": false, - * // "id": "my_id", - * // "kind": "my_kind", - * // "name": "my_name", - * // "siteFilterType": "my_siteFilterType", - * // "siteIds": [], - * // "sslCompliant": false, - * // "status": "my_status", - * // "subaccountId": "my_subaccountId", - * // "type": "my_type", - * // "url": "my_url", - * // "urlEscapeLevels": 0 - * // } * } * * main().catch(e => { @@ -26646,52 +26761,50 @@ export namespace dfareporting_v4 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - patch( - params: Params$Resource$Eventtags$Patch, + delete( + params: Params$Resource$Eventtags$Delete, options: StreamMethodOptions ): Promise>; - patch( - params?: Params$Resource$Eventtags$Patch, + delete( + params?: Params$Resource$Eventtags$Delete, options?: MethodOptions - ): Promise>; - patch( - params: Params$Resource$Eventtags$Patch, + ): Promise>; + delete( + params: Params$Resource$Eventtags$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Eventtags$Patch, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + delete( + params: Params$Resource$Eventtags$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Eventtags$Patch, - callback: BodyResponseCallback + delete( + params: Params$Resource$Eventtags$Delete, + callback: BodyResponseCallback ): void; - patch(callback: BodyResponseCallback): void; - patch( + delete(callback: BodyResponseCallback): void; + delete( paramsOrCallback?: - | Params$Resource$Eventtags$Patch - | BodyResponseCallback + | Params$Resource$Eventtags$Delete + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback + callback?: BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { - let params = (paramsOrCallback || {}) as Params$Resource$Eventtags$Patch; + let params = (paramsOrCallback || {}) as Params$Resource$Eventtags$Delete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Eventtags$Patch; + params = {} as Params$Resource$Eventtags$Delete; options = {}; } @@ -26705,30 +26818,31 @@ export namespace dfareporting_v4 { options: Object.assign( { url: ( - rootUrl + '/dfareporting/v4/userprofiles/{+profileId}/eventTags' + rootUrl + + '/dfareporting/v4/userprofiles/{+profileId}/eventTags/{+id}' ).replace(/([^:]\/)\/+/g, '$1'), - method: 'PATCH', + method: 'DELETE', apiVersion: '', }, options ), params, requiredParams: ['profileId', 'id'], - pathParams: ['profileId'], + pathParams: ['id', 'profileId'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Updates an existing event tag. + * Gets one event tag by ID. * @example * ```js * // Before running the sample: @@ -26757,32 +26871,701 @@ export namespace dfareporting_v4 { * google.options({auth: authClient}); * * // Do the magic - * const res = await dfareporting.eventTags.update({ + * const res = await dfareporting.eventTags.get({ + * // Event tag ID. + * id: '[^/]+', * // User profile ID associated with this request. * profileId: '[^/]+', + * }); + * console.log(res.data); * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "accountId": "my_accountId", - * // "advertiserId": "my_advertiserId", - * // "advertiserIdDimensionValue": {}, - * // "campaignId": "my_campaignId", - * // "campaignIdDimensionValue": {}, - * // "enabledByDefault": false, - * // "excludeFromAdxRequests": false, - * // "id": "my_id", - * // "kind": "my_kind", - * // "name": "my_name", - * // "siteFilterType": "my_siteFilterType", - * // "siteIds": [], - * // "sslCompliant": false, - * // "status": "my_status", - * // "subaccountId": "my_subaccountId", - * // "type": "my_type", - * // "url": "my_url", - * // "urlEscapeLevels": 0 + * // Example response + * // { + * // "accountId": "my_accountId", + * // "advertiserId": "my_advertiserId", + * // "advertiserIdDimensionValue": {}, + * // "campaignId": "my_campaignId", + * // "campaignIdDimensionValue": {}, + * // "enabledByDefault": false, + * // "excludeFromAdxRequests": false, + * // "id": "my_id", + * // "kind": "my_kind", + * // "name": "my_name", + * // "siteFilterType": "my_siteFilterType", + * // "siteIds": [], + * // "sslCompliant": false, + * // "status": "my_status", + * // "subaccountId": "my_subaccountId", + * // "type": "my_type", + * // "url": "my_url", + * // "urlEscapeLevels": 0 + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + get( + params: Params$Resource$Eventtags$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Eventtags$Get, + options?: MethodOptions + ): Promise>; + get( + params: Params$Resource$Eventtags$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Eventtags$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Eventtags$Get, + callback: BodyResponseCallback + ): void; + get(callback: BodyResponseCallback): void; + get( + paramsOrCallback?: + | Params$Resource$Eventtags$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || {}) as Params$Resource$Eventtags$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Eventtags$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://dfareporting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + + '/dfareporting/v4/userprofiles/{+profileId}/eventTags/{+id}' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Inserts a new event tag. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/dfareporting.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const dfareporting = google.dfareporting('v4'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/dfatrafficking'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await dfareporting.eventTags.insert({ + * // User profile ID associated with this request. + * profileId: '[^/]+', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "accountId": "my_accountId", + * // "advertiserId": "my_advertiserId", + * // "advertiserIdDimensionValue": {}, + * // "campaignId": "my_campaignId", + * // "campaignIdDimensionValue": {}, + * // "enabledByDefault": false, + * // "excludeFromAdxRequests": false, + * // "id": "my_id", + * // "kind": "my_kind", + * // "name": "my_name", + * // "siteFilterType": "my_siteFilterType", + * // "siteIds": [], + * // "sslCompliant": false, + * // "status": "my_status", + * // "subaccountId": "my_subaccountId", + * // "type": "my_type", + * // "url": "my_url", + * // "urlEscapeLevels": 0 + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "accountId": "my_accountId", + * // "advertiserId": "my_advertiserId", + * // "advertiserIdDimensionValue": {}, + * // "campaignId": "my_campaignId", + * // "campaignIdDimensionValue": {}, + * // "enabledByDefault": false, + * // "excludeFromAdxRequests": false, + * // "id": "my_id", + * // "kind": "my_kind", + * // "name": "my_name", + * // "siteFilterType": "my_siteFilterType", + * // "siteIds": [], + * // "sslCompliant": false, + * // "status": "my_status", + * // "subaccountId": "my_subaccountId", + * // "type": "my_type", + * // "url": "my_url", + * // "urlEscapeLevels": 0 + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + insert( + params: Params$Resource$Eventtags$Insert, + options: StreamMethodOptions + ): Promise>; + insert( + params?: Params$Resource$Eventtags$Insert, + options?: MethodOptions + ): Promise>; + insert( + params: Params$Resource$Eventtags$Insert, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + insert( + params: Params$Resource$Eventtags$Insert, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + insert( + params: Params$Resource$Eventtags$Insert, + callback: BodyResponseCallback + ): void; + insert(callback: BodyResponseCallback): void; + insert( + paramsOrCallback?: + | Params$Resource$Eventtags$Insert + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || {}) as Params$Resource$Eventtags$Insert; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Eventtags$Insert; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://dfareporting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + '/dfareporting/v4/userprofiles/{+profileId}/eventTags' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Retrieves a list of event tags, possibly filtered. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/dfareporting.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const dfareporting = google.dfareporting('v4'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/dfatrafficking'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await dfareporting.eventTags.list({ + * // Select only event tags that belong to this ad. + * adId: 'placeholder-value', + * // Select only event tags that belong to this advertiser. + * advertiserId: 'placeholder-value', + * // Select only event tags that belong to this campaign. + * campaignId: 'placeholder-value', + * // Examine only the specified campaign or advertiser's event tags for matching selector criteria. When set to false, the parent advertiser and parent campaign of the specified ad or campaign is examined as well. In addition, when set to false, the status field is examined as well, along with the enabledByDefault field. This parameter can not be set to true when adId is specified as ads do not define their own even tags. + * definitionsOnly: 'placeholder-value', + * // Select only enabled event tags. What is considered enabled or disabled depends on the definitionsOnly parameter. When definitionsOnly is set to true, only the specified advertiser or campaign's event tags' enabledByDefault field is examined. When definitionsOnly is set to false, the specified ad or specified campaign's parent advertiser's or parent campaign's event tags' enabledByDefault and status fields are examined as well. + * enabled: 'placeholder-value', + * // Select only event tags with the specified event tag types. Event tag types can be used to specify whether to use a third-party pixel, a third-party JavaScript URL, or a third-party click-through URL for either impression or click tracking. + * eventTagTypes: 'placeholder-value', + * // Select only event tags with these IDs. + * ids: 'placeholder-value', + * // User profile ID associated with this request. + * profileId: '[^/]+', + * // Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "eventtag*2015" will return objects with names like "eventtag June 2015", "eventtag April 2015", or simply "eventtag 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "eventtag" will match objects with name "my eventtag", "eventtag 2015", or simply "eventtag". + * searchString: 'placeholder-value', + * // Field by which to sort the list. + * sortField: 'placeholder-value', + * // Order of sorted results. + * sortOrder: 'placeholder-value', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "eventTags": [], + * // "kind": "my_kind" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + list( + params: Params$Resource$Eventtags$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Eventtags$List, + options?: MethodOptions + ): Promise>; + list( + params: Params$Resource$Eventtags$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Eventtags$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Eventtags$List, + callback: BodyResponseCallback + ): void; + list(callback: BodyResponseCallback): void; + list( + paramsOrCallback?: + | Params$Resource$Eventtags$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || {}) as Params$Resource$Eventtags$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Eventtags$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://dfareporting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + '/dfareporting/v4/userprofiles/{+profileId}/eventTags' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Updates an existing event tag. This method supports patch semantics. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/dfareporting.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const dfareporting = google.dfareporting('v4'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/dfatrafficking'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await dfareporting.eventTags.patch({ + * // Required. EventTag ID. + * id: 'placeholder-value', + * // User profile ID associated with this request. + * profileId: '[^/]+', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "accountId": "my_accountId", + * // "advertiserId": "my_advertiserId", + * // "advertiserIdDimensionValue": {}, + * // "campaignId": "my_campaignId", + * // "campaignIdDimensionValue": {}, + * // "enabledByDefault": false, + * // "excludeFromAdxRequests": false, + * // "id": "my_id", + * // "kind": "my_kind", + * // "name": "my_name", + * // "siteFilterType": "my_siteFilterType", + * // "siteIds": [], + * // "sslCompliant": false, + * // "status": "my_status", + * // "subaccountId": "my_subaccountId", + * // "type": "my_type", + * // "url": "my_url", + * // "urlEscapeLevels": 0 + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "accountId": "my_accountId", + * // "advertiserId": "my_advertiserId", + * // "advertiserIdDimensionValue": {}, + * // "campaignId": "my_campaignId", + * // "campaignIdDimensionValue": {}, + * // "enabledByDefault": false, + * // "excludeFromAdxRequests": false, + * // "id": "my_id", + * // "kind": "my_kind", + * // "name": "my_name", + * // "siteFilterType": "my_siteFilterType", + * // "siteIds": [], + * // "sslCompliant": false, + * // "status": "my_status", + * // "subaccountId": "my_subaccountId", + * // "type": "my_type", + * // "url": "my_url", + * // "urlEscapeLevels": 0 + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + patch( + params: Params$Resource$Eventtags$Patch, + options: StreamMethodOptions + ): Promise>; + patch( + params?: Params$Resource$Eventtags$Patch, + options?: MethodOptions + ): Promise>; + patch( + params: Params$Resource$Eventtags$Patch, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Eventtags$Patch, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Eventtags$Patch, + callback: BodyResponseCallback + ): void; + patch(callback: BodyResponseCallback): void; + patch( + paramsOrCallback?: + | Params$Resource$Eventtags$Patch + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || {}) as Params$Resource$Eventtags$Patch; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Eventtags$Patch; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://dfareporting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + '/dfareporting/v4/userprofiles/{+profileId}/eventTags' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Updates an existing event tag. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/dfareporting.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const dfareporting = google.dfareporting('v4'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/dfatrafficking'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await dfareporting.eventTags.update({ + * // User profile ID associated with this request. + * profileId: '[^/]+', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "accountId": "my_accountId", + * // "advertiserId": "my_advertiserId", + * // "advertiserIdDimensionValue": {}, + * // "campaignId": "my_campaignId", + * // "campaignIdDimensionValue": {}, + * // "enabledByDefault": false, + * // "excludeFromAdxRequests": false, + * // "id": "my_id", + * // "kind": "my_kind", + * // "name": "my_name", + * // "siteFilterType": "my_siteFilterType", + * // "siteIds": [], + * // "sslCompliant": false, + * // "status": "my_status", + * // "subaccountId": "my_subaccountId", + * // "type": "my_type", + * // "url": "my_url", + * // "urlEscapeLevels": 0 * // } * }, * }); @@ -40527,7 +41310,493 @@ export namespace dfareporting_v4 { } /** - * Gets one site by ID. + * Gets one site by ID. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/dfareporting.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const dfareporting = google.dfareporting('v4'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/dfatrafficking'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await dfareporting.sites.get({ + * // Site ID. + * id: '[^/]+', + * // User profile ID associated with this request. + * profileId: '[^/]+', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "accountId": "my_accountId", + * // "adServingPlatformId": "my_adServingPlatformId", + * // "approved": false, + * // "directorySiteId": "my_directorySiteId", + * // "directorySiteIdDimensionValue": {}, + * // "id": "my_id", + * // "idDimensionValue": {}, + * // "keyName": "my_keyName", + * // "kind": "my_kind", + * // "name": "my_name", + * // "siteContacts": [], + * // "siteSettings": {}, + * // "subaccountId": "my_subaccountId", + * // "videoSettings": {} + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + get( + params: Params$Resource$Sites$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Sites$Get, + options?: MethodOptions + ): Promise>; + get( + params: Params$Resource$Sites$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Sites$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Sites$Get, + callback: BodyResponseCallback + ): void; + get(callback: BodyResponseCallback): void; + get( + paramsOrCallback?: + | Params$Resource$Sites$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || {}) as Params$Resource$Sites$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Sites$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://dfareporting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + '/dfareporting/v4/userprofiles/{+profileId}/sites/{+id}' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Inserts a new site. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/dfareporting.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const dfareporting = google.dfareporting('v4'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/dfatrafficking'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await dfareporting.sites.insert({ + * // User profile ID associated with this request. + * profileId: '[^/]+', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "accountId": "my_accountId", + * // "adServingPlatformId": "my_adServingPlatformId", + * // "approved": false, + * // "directorySiteId": "my_directorySiteId", + * // "directorySiteIdDimensionValue": {}, + * // "id": "my_id", + * // "idDimensionValue": {}, + * // "keyName": "my_keyName", + * // "kind": "my_kind", + * // "name": "my_name", + * // "siteContacts": [], + * // "siteSettings": {}, + * // "subaccountId": "my_subaccountId", + * // "videoSettings": {} + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "accountId": "my_accountId", + * // "adServingPlatformId": "my_adServingPlatformId", + * // "approved": false, + * // "directorySiteId": "my_directorySiteId", + * // "directorySiteIdDimensionValue": {}, + * // "id": "my_id", + * // "idDimensionValue": {}, + * // "keyName": "my_keyName", + * // "kind": "my_kind", + * // "name": "my_name", + * // "siteContacts": [], + * // "siteSettings": {}, + * // "subaccountId": "my_subaccountId", + * // "videoSettings": {} + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + insert( + params: Params$Resource$Sites$Insert, + options: StreamMethodOptions + ): Promise>; + insert( + params?: Params$Resource$Sites$Insert, + options?: MethodOptions + ): Promise>; + insert( + params: Params$Resource$Sites$Insert, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + insert( + params: Params$Resource$Sites$Insert, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + insert( + params: Params$Resource$Sites$Insert, + callback: BodyResponseCallback + ): void; + insert(callback: BodyResponseCallback): void; + insert( + paramsOrCallback?: + | Params$Resource$Sites$Insert + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || {}) as Params$Resource$Sites$Insert; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Sites$Insert; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://dfareporting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + '/dfareporting/v4/userprofiles/{+profileId}/sites' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Retrieves a list of sites, possibly filtered. This method supports paging. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/dfareporting.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const dfareporting = google.dfareporting('v4'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/dfatrafficking'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await dfareporting.sites.list({ + * // This search filter is no longer supported and will have no effect on the results returned. + * acceptsInStreamVideoPlacements: 'placeholder-value', + * // This search filter is no longer supported and will have no effect on the results returned. + * acceptsInterstitialPlacements: 'placeholder-value', + * // Select only sites that accept publisher paid placements. + * acceptsPublisherPaidPlacements: 'placeholder-value', + * // Select only AdWords sites. + * adWordsSite: 'placeholder-value', + * // Select only approved sites. + * approved: 'placeholder-value', + * // Select only sites with these campaign IDs. + * campaignIds: 'placeholder-value', + * // Select only sites with these directory site IDs. + * directorySiteIds: 'placeholder-value', + * // Select only sites with these IDs. + * ids: 'placeholder-value', + * // Maximum number of results to return. + * maxResults: 'placeholder-value', + * // Value of the nextPageToken from the previous result page. + * pageToken: 'placeholder-value', + * // User profile ID associated with this request. + * profileId: '[^/]+', + * // Allows searching for objects by name, ID or keyName. Wildcards (*) are allowed. For example, "site*2015" will return objects with names like "site June 2015", "site April 2015", or simply "site 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "site" will match objects with name "my site", "site 2015", or simply "site". + * searchString: 'placeholder-value', + * // Field by which to sort the list. + * sortField: 'placeholder-value', + * // Order of sorted results. + * sortOrder: 'placeholder-value', + * // Select only sites with this subaccount ID. + * subaccountId: 'placeholder-value', + * // Select only sites that have not been mapped to a directory site. + * unmappedSite: 'placeholder-value', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "kind": "my_kind", + * // "nextPageToken": "my_nextPageToken", + * // "sites": [] + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + list( + params: Params$Resource$Sites$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Sites$List, + options?: MethodOptions + ): Promise>; + list( + params: Params$Resource$Sites$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Sites$List, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Sites$List, + callback: BodyResponseCallback + ): void; + list(callback: BodyResponseCallback): void; + list( + paramsOrCallback?: + | Params$Resource$Sites$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || {}) as Params$Resource$Sites$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Sites$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://dfareporting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + '/dfareporting/v4/userprofiles/{+profileId}/sites' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Updates an existing site. This method supports patch semantics. * @example * ```js * // Before running the sample: @@ -40556,11 +41825,32 @@ export namespace dfareporting_v4 { * google.options({auth: authClient}); * * // Do the magic - * const res = await dfareporting.sites.get({ - * // Site ID. - * id: '[^/]+', + * const res = await dfareporting.sites.patch({ + * // Required. Site ID. + * id: 'placeholder-value', * // User profile ID associated with this request. * profileId: '[^/]+', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "accountId": "my_accountId", + * // "adServingPlatformId": "my_adServingPlatformId", + * // "approved": false, + * // "directorySiteId": "my_directorySiteId", + * // "directorySiteIdDimensionValue": {}, + * // "id": "my_id", + * // "idDimensionValue": {}, + * // "keyName": "my_keyName", + * // "kind": "my_kind", + * // "name": "my_name", + * // "siteContacts": [], + * // "siteSettings": {}, + * // "subaccountId": "my_subaccountId", + * // "videoSettings": {} + * // } + * }, * }); * console.log(res.data); * @@ -40595,32 +41885,32 @@ export namespace dfareporting_v4 { * @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$Sites$Get, + patch( + params: Params$Resource$Sites$Patch, options: StreamMethodOptions ): Promise>; - get( - params?: Params$Resource$Sites$Get, + patch( + params?: Params$Resource$Sites$Patch, options?: MethodOptions ): Promise>; - get( - params: Params$Resource$Sites$Get, + patch( + params: Params$Resource$Sites$Patch, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Sites$Get, + patch( + params: Params$Resource$Sites$Patch, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Sites$Get, + patch( + params: Params$Resource$Sites$Patch, callback: BodyResponseCallback ): void; - get(callback: BodyResponseCallback): void; - get( + patch(callback: BodyResponseCallback): void; + patch( paramsOrCallback?: - | Params$Resource$Sites$Get + | Params$Resource$Sites$Patch | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -40635,12 +41925,12 @@ export namespace dfareporting_v4 { | void | Promise> | Promise> { - let params = (paramsOrCallback || {}) as Params$Resource$Sites$Get; + let params = (paramsOrCallback || {}) as Params$Resource$Sites$Patch; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Sites$Get; + params = {} as Params$Resource$Sites$Patch; options = {}; } @@ -40654,16 +41944,16 @@ export namespace dfareporting_v4 { options: Object.assign( { url: ( - rootUrl + '/dfareporting/v4/userprofiles/{+profileId}/sites/{+id}' + rootUrl + '/dfareporting/v4/userprofiles/{+profileId}/sites' ).replace(/([^:]\/)\/+/g, '$1'), - method: 'GET', + method: 'PATCH', apiVersion: '', }, options ), params, requiredParams: ['profileId', 'id'], - pathParams: ['id', 'profileId'], + pathParams: ['profileId'], context: this.context, }; if (callback) { @@ -40677,7 +41967,7 @@ export namespace dfareporting_v4 { } /** - * Inserts a new site. + * Updates an existing site. * @example * ```js * // Before running the sample: @@ -40706,7 +41996,7 @@ export namespace dfareporting_v4 { * google.options({auth: authClient}); * * // Do the magic - * const res = await dfareporting.sites.insert({ + * const res = await dfareporting.sites.update({ * // User profile ID associated with this request. * profileId: '[^/]+', * @@ -40764,32 +42054,32 @@ export namespace dfareporting_v4 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - insert( - params: Params$Resource$Sites$Insert, + update( + params: Params$Resource$Sites$Update, options: StreamMethodOptions ): Promise>; - insert( - params?: Params$Resource$Sites$Insert, + update( + params?: Params$Resource$Sites$Update, options?: MethodOptions ): Promise>; - insert( - params: Params$Resource$Sites$Insert, + update( + params: Params$Resource$Sites$Update, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - insert( - params: Params$Resource$Sites$Insert, + update( + params: Params$Resource$Sites$Update, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - insert( - params: Params$Resource$Sites$Insert, + update( + params: Params$Resource$Sites$Update, callback: BodyResponseCallback ): void; - insert(callback: BodyResponseCallback): void; - insert( + update(callback: BodyResponseCallback): void; + update( paramsOrCallback?: - | Params$Resource$Sites$Insert + | Params$Resource$Sites$Update | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -40804,12 +42094,12 @@ export namespace dfareporting_v4 { | void | Promise> | Promise> { - let params = (paramsOrCallback || {}) as Params$Resource$Sites$Insert; + let params = (paramsOrCallback || {}) as Params$Resource$Sites$Update; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Sites$Insert; + params = {} as Params$Resource$Sites$Update; options = {}; } @@ -40825,7 +42115,7 @@ export namespace dfareporting_v4 { url: ( rootUrl + '/dfareporting/v4/userprofiles/{+profileId}/sites' ).replace(/([^:]\/)\/+/g, '$1'), - method: 'POST', + method: 'PUT', apiVersion: '', }, options @@ -40844,9 +42134,130 @@ export namespace dfareporting_v4 { return createAPIRequest(parameters); } } + } + export interface Params$Resource$Sites$Get extends StandardParameters { /** - * Retrieves a list of sites, possibly filtered. This method supports paging. + * Site ID. + */ + id?: string; + /** + * User profile ID associated with this request. + */ + profileId?: string; + } + export interface Params$Resource$Sites$Insert extends StandardParameters { + /** + * User profile ID associated with this request. + */ + profileId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$Site; + } + export interface Params$Resource$Sites$List extends StandardParameters { + /** + * This search filter is no longer supported and will have no effect on the results returned. + */ + acceptsInStreamVideoPlacements?: boolean; + /** + * This search filter is no longer supported and will have no effect on the results returned. + */ + acceptsInterstitialPlacements?: boolean; + /** + * Select only sites that accept publisher paid placements. + */ + acceptsPublisherPaidPlacements?: boolean; + /** + * Select only AdWords sites. + */ + adWordsSite?: boolean; + /** + * Select only approved sites. + */ + approved?: boolean; + /** + * Select only sites with these campaign IDs. + */ + campaignIds?: string[]; + /** + * Select only sites with these directory site IDs. + */ + directorySiteIds?: string[]; + /** + * Select only sites with these IDs. + */ + ids?: string[]; + /** + * Maximum number of results to return. + */ + maxResults?: number; + /** + * Value of the nextPageToken from the previous result page. + */ + pageToken?: string; + /** + * User profile ID associated with this request. + */ + profileId?: string; + /** + * Allows searching for objects by name, ID or keyName. Wildcards (*) are allowed. For example, "site*2015" will return objects with names like "site June 2015", "site April 2015", or simply "site 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "site" will match objects with name "my site", "site 2015", or simply "site". + */ + searchString?: string; + /** + * Field by which to sort the list. + */ + sortField?: string; + /** + * Order of sorted results. + */ + sortOrder?: string; + /** + * Select only sites with this subaccount ID. + */ + subaccountId?: string; + /** + * Select only sites that have not been mapped to a directory site. + */ + unmappedSite?: boolean; + } + export interface Params$Resource$Sites$Patch extends StandardParameters { + /** + * Required. Site ID. + */ + id?: string; + /** + * User profile ID associated with this request. + */ + profileId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$Site; + } + export interface Params$Resource$Sites$Update extends StandardParameters { + /** + * User profile ID associated with this request. + */ + profileId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$Site; + } + + export class Resource$Sizes { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Gets one size by ID. * @example * ```js * // Before running the sample: @@ -40875,47 +42286,21 @@ export namespace dfareporting_v4 { * google.options({auth: authClient}); * * // Do the magic - * const res = await dfareporting.sites.list({ - * // This search filter is no longer supported and will have no effect on the results returned. - * acceptsInStreamVideoPlacements: 'placeholder-value', - * // This search filter is no longer supported and will have no effect on the results returned. - * acceptsInterstitialPlacements: 'placeholder-value', - * // Select only sites that accept publisher paid placements. - * acceptsPublisherPaidPlacements: 'placeholder-value', - * // Select only AdWords sites. - * adWordsSite: 'placeholder-value', - * // Select only approved sites. - * approved: 'placeholder-value', - * // Select only sites with these campaign IDs. - * campaignIds: 'placeholder-value', - * // Select only sites with these directory site IDs. - * directorySiteIds: 'placeholder-value', - * // Select only sites with these IDs. - * ids: 'placeholder-value', - * // Maximum number of results to return. - * maxResults: 'placeholder-value', - * // Value of the nextPageToken from the previous result page. - * pageToken: 'placeholder-value', + * const res = await dfareporting.sizes.get({ + * // Size ID. + * id: '[^/]+', * // User profile ID associated with this request. * profileId: '[^/]+', - * // Allows searching for objects by name, ID or keyName. Wildcards (*) are allowed. For example, "site*2015" will return objects with names like "site June 2015", "site April 2015", or simply "site 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "site" will match objects with name "my site", "site 2015", or simply "site". - * searchString: 'placeholder-value', - * // Field by which to sort the list. - * sortField: 'placeholder-value', - * // Order of sorted results. - * sortOrder: 'placeholder-value', - * // Select only sites with this subaccount ID. - * subaccountId: 'placeholder-value', - * // Select only sites that have not been mapped to a directory site. - * unmappedSite: 'placeholder-value', * }); * console.log(res.data); * * // Example response * // { + * // "height": 0, + * // "iab": false, + * // "id": "my_id", * // "kind": "my_kind", - * // "nextPageToken": "my_nextPageToken", - * // "sites": [] + * // "width": 0 * // } * } * @@ -40931,52 +42316,52 @@ export namespace dfareporting_v4 { * @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$Sites$List, + get( + params: Params$Resource$Sizes$Get, options: StreamMethodOptions ): Promise>; - list( - params?: Params$Resource$Sites$List, + get( + params?: Params$Resource$Sizes$Get, options?: MethodOptions - ): Promise>; - list( - params: Params$Resource$Sites$List, + ): Promise>; + get( + params: Params$Resource$Sizes$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Sites$List, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + get( + params: Params$Resource$Sizes$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Sites$List, - callback: BodyResponseCallback + get( + params: Params$Resource$Sizes$Get, + callback: BodyResponseCallback ): void; - list(callback: BodyResponseCallback): void; - list( + get(callback: BodyResponseCallback): void; + get( paramsOrCallback?: - | Params$Resource$Sites$List - | BodyResponseCallback + | Params$Resource$Sizes$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { - let params = (paramsOrCallback || {}) as Params$Resource$Sites$List; + let params = (paramsOrCallback || {}) as Params$Resource$Sizes$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Sites$List; + params = {} as Params$Resource$Sizes$Get; options = {}; } @@ -40990,7 +42375,7 @@ export namespace dfareporting_v4 { options: Object.assign( { url: ( - rootUrl + '/dfareporting/v4/userprofiles/{+profileId}/sites' + rootUrl + '/dfareporting/v4/userprofiles/{+profileId}/sizes/{+id}' ).replace(/([^:]\/)\/+/g, '$1'), method: 'GET', apiVersion: '', @@ -40998,22 +42383,22 @@ export namespace dfareporting_v4 { options ), params, - requiredParams: ['profileId'], - pathParams: ['profileId'], + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Updates an existing site. This method supports patch semantics. + * Inserts a new size. * @example * ```js * // Before running the sample: @@ -41042,9 +42427,7 @@ export namespace dfareporting_v4 { * google.options({auth: authClient}); * * // Do the magic - * const res = await dfareporting.sites.patch({ - * // Required. Site ID. - * id: 'placeholder-value', + * const res = await dfareporting.sizes.insert({ * // User profile ID associated with this request. * profileId: '[^/]+', * @@ -41052,20 +42435,11 @@ export namespace dfareporting_v4 { * requestBody: { * // request body parameters * // { - * // "accountId": "my_accountId", - * // "adServingPlatformId": "my_adServingPlatformId", - * // "approved": false, - * // "directorySiteId": "my_directorySiteId", - * // "directorySiteIdDimensionValue": {}, + * // "height": 0, + * // "iab": false, * // "id": "my_id", - * // "idDimensionValue": {}, - * // "keyName": "my_keyName", * // "kind": "my_kind", - * // "name": "my_name", - * // "siteContacts": [], - * // "siteSettings": {}, - * // "subaccountId": "my_subaccountId", - * // "videoSettings": {} + * // "width": 0 * // } * }, * }); @@ -41073,20 +42447,155 @@ export namespace dfareporting_v4 { * * // Example response * // { - * // "accountId": "my_accountId", - * // "adServingPlatformId": "my_adServingPlatformId", - * // "approved": false, - * // "directorySiteId": "my_directorySiteId", - * // "directorySiteIdDimensionValue": {}, + * // "height": 0, + * // "iab": false, * // "id": "my_id", - * // "idDimensionValue": {}, - * // "keyName": "my_keyName", * // "kind": "my_kind", - * // "name": "my_name", - * // "siteContacts": [], - * // "siteSettings": {}, - * // "subaccountId": "my_subaccountId", - * // "videoSettings": {} + * // "width": 0 + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + insert( + params: Params$Resource$Sizes$Insert, + options: StreamMethodOptions + ): Promise>; + insert( + params?: Params$Resource$Sizes$Insert, + options?: MethodOptions + ): Promise>; + insert( + params: Params$Resource$Sizes$Insert, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + insert( + params: Params$Resource$Sizes$Insert, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + insert( + params: Params$Resource$Sizes$Insert, + callback: BodyResponseCallback + ): void; + insert(callback: BodyResponseCallback): void; + insert( + paramsOrCallback?: + | Params$Resource$Sizes$Insert + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || {}) as Params$Resource$Sizes$Insert; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Sizes$Insert; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://dfareporting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + '/dfareporting/v4/userprofiles/{+profileId}/sizes' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Retrieves a list of sizes, possibly filtered. Retrieved sizes are globally unique and may include values not currently in use by your account. Due to this, the list of sizes returned by this method may differ from the list seen in the Trafficking UI. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/dfareporting.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const dfareporting = google.dfareporting('v4'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/dfatrafficking'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await dfareporting.sizes.list({ + * // Select only sizes with this height. + * height: 'placeholder-value', + * // Select only IAB standard sizes. + * iabStandard: 'placeholder-value', + * // Select only sizes with these IDs. + * ids: 'placeholder-value', + * // User profile ID associated with this request. + * profileId: '[^/]+', + * // Select only sizes with this width. + * width: 'placeholder-value', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "kind": "my_kind", + * // "sizes": [] * // } * } * @@ -41102,52 +42611,52 @@ export namespace dfareporting_v4 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - patch( - params: Params$Resource$Sites$Patch, + list( + params: Params$Resource$Sizes$List, options: StreamMethodOptions ): Promise>; - patch( - params?: Params$Resource$Sites$Patch, + list( + params?: Params$Resource$Sizes$List, options?: MethodOptions - ): Promise>; - patch( - params: Params$Resource$Sites$Patch, + ): Promise>; + list( + params: Params$Resource$Sizes$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Sites$Patch, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + list( + params: Params$Resource$Sizes$List, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Sites$Patch, - callback: BodyResponseCallback + list( + params: Params$Resource$Sizes$List, + callback: BodyResponseCallback ): void; - patch(callback: BodyResponseCallback): void; - patch( + list(callback: BodyResponseCallback): void; + list( paramsOrCallback?: - | Params$Resource$Sites$Patch - | BodyResponseCallback + | Params$Resource$Sizes$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { - let params = (paramsOrCallback || {}) as Params$Resource$Sites$Patch; + let params = (paramsOrCallback || {}) as Params$Resource$Sizes$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Sites$Patch; + params = {} as Params$Resource$Sizes$List; options = {}; } @@ -41161,30 +42670,81 @@ export namespace dfareporting_v4 { options: Object.assign( { url: ( - rootUrl + '/dfareporting/v4/userprofiles/{+profileId}/sites' + rootUrl + '/dfareporting/v4/userprofiles/{+profileId}/sizes' ).replace(/([^:]\/)\/+/g, '$1'), - method: 'PATCH', + method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['profileId', 'id'], + requiredParams: ['profileId'], pathParams: ['profileId'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } + } + export interface Params$Resource$Sizes$Get extends StandardParameters { /** - * Updates an existing site. + * Size ID. + */ + id?: string; + /** + * User profile ID associated with this request. + */ + profileId?: string; + } + export interface Params$Resource$Sizes$Insert extends StandardParameters { + /** + * User profile ID associated with this request. + */ + profileId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$Size; + } + export interface Params$Resource$Sizes$List extends StandardParameters { + /** + * Select only sizes with this height. + */ + height?: number; + /** + * Select only IAB standard sizes. + */ + iabStandard?: boolean; + /** + * Select only sizes with these IDs. + */ + ids?: string[]; + /** + * User profile ID associated with this request. + */ + profileId?: string; + /** + * Select only sizes with this width. + */ + width?: number; + } + + export class Resource$Studiocreativeassets { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Inserts a new studio creative asset. * @example * ```js * // Before running the sample: @@ -41213,49 +42773,26 @@ export namespace dfareporting_v4 { * google.options({auth: authClient}); * * // Do the magic - * const res = await dfareporting.sites.update({ - * // User profile ID associated with this request. - * profileId: '[^/]+', - * + * const res = await dfareporting.studioCreativeAssets.insert({ * // Request body metadata * requestBody: { * // request body parameters * // { - * // "accountId": "my_accountId", - * // "adServingPlatformId": "my_adServingPlatformId", - * // "approved": false, - * // "directorySiteId": "my_directorySiteId", - * // "directorySiteIdDimensionValue": {}, - * // "id": "my_id", - * // "idDimensionValue": {}, - * // "keyName": "my_keyName", - * // "kind": "my_kind", - * // "name": "my_name", - * // "siteContacts": [], - * // "siteSettings": {}, - * // "subaccountId": "my_subaccountId", - * // "videoSettings": {} + * // "studioAccountId": "my_studioAccountId", + * // "studioAdvertiserId": "my_studioAdvertiserId", + * // "studioCreativeId": "my_studioCreativeId" * // } * }, + * media: { + * mimeType: 'placeholder-value', + * body: 'placeholder-value', + * }, * }); * console.log(res.data); * * // Example response * // { - * // "accountId": "my_accountId", - * // "adServingPlatformId": "my_adServingPlatformId", - * // "approved": false, - * // "directorySiteId": "my_directorySiteId", - * // "directorySiteIdDimensionValue": {}, - * // "id": "my_id", - * // "idDimensionValue": {}, - * // "keyName": "my_keyName", - * // "kind": "my_kind", - * // "name": "my_name", - * // "siteContacts": [], - * // "siteSettings": {}, - * // "subaccountId": "my_subaccountId", - * // "videoSettings": {} + * // "assets": [] * // } * } * @@ -41271,52 +42808,57 @@ export namespace dfareporting_v4 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - update( - params: Params$Resource$Sites$Update, + insert( + params: Params$Resource$Studiocreativeassets$Insert, options: StreamMethodOptions ): Promise>; - update( - params?: Params$Resource$Sites$Update, + insert( + params?: Params$Resource$Studiocreativeassets$Insert, options?: MethodOptions - ): Promise>; - update( - params: Params$Resource$Sites$Update, + ): Promise>; + insert( + params: Params$Resource$Studiocreativeassets$Insert, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - update( - params: Params$Resource$Sites$Update, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + insert( + params: Params$Resource$Studiocreativeassets$Insert, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - update( - params: Params$Resource$Sites$Update, - callback: BodyResponseCallback + insert( + params: Params$Resource$Studiocreativeassets$Insert, + callback: BodyResponseCallback ): void; - update(callback: BodyResponseCallback): void; - update( + insert( + callback: BodyResponseCallback + ): void; + insert( paramsOrCallback?: - | Params$Resource$Sites$Update - | BodyResponseCallback + | Params$Resource$Studiocreativeassets$Insert + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { - let params = (paramsOrCallback || {}) as Params$Resource$Sites$Update; + let params = (paramsOrCallback || + {}) as Params$Resource$Studiocreativeassets$Insert; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Sites$Update; + params = {} as Params$Resource$Studiocreativeassets$Insert; options = {}; } @@ -41329,152 +42871,67 @@ export namespace dfareporting_v4 { const parameters = { options: Object.assign( { - url: ( - rootUrl + '/dfareporting/v4/userprofiles/{+profileId}/sites' - ).replace(/([^:]\/)\/+/g, '$1'), - method: 'PUT', + url: (rootUrl + '/dfareporting/v4/studio/creativeAssets').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', apiVersion: '', }, options ), params, - requiredParams: ['profileId'], - pathParams: ['profileId'], + mediaUrl: ( + rootUrl + '/upload/dfareporting/v4/studio/creativeAssets' + ).replace(/([^:]\/)\/+/g, '$1'), + requiredParams: [], + pathParams: [], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest( + parameters + ); } } } - export interface Params$Resource$Sites$Get extends StandardParameters { - /** - * Site ID. - */ - id?: string; - /** - * User profile ID associated with this request. - */ - profileId?: string; - } - export interface Params$Resource$Sites$Insert extends StandardParameters { - /** - * User profile ID associated with this request. - */ - profileId?: string; - + export interface Params$Resource$Studiocreativeassets$Insert + extends StandardParameters { /** * Request body metadata */ - requestBody?: Schema$Site; - } - export interface Params$Resource$Sites$List extends StandardParameters { - /** - * This search filter is no longer supported and will have no effect on the results returned. - */ - acceptsInStreamVideoPlacements?: boolean; - /** - * This search filter is no longer supported and will have no effect on the results returned. - */ - acceptsInterstitialPlacements?: boolean; - /** - * Select only sites that accept publisher paid placements. - */ - acceptsPublisherPaidPlacements?: boolean; - /** - * Select only AdWords sites. - */ - adWordsSite?: boolean; - /** - * Select only approved sites. - */ - approved?: boolean; - /** - * Select only sites with these campaign IDs. - */ - campaignIds?: string[]; - /** - * Select only sites with these directory site IDs. - */ - directorySiteIds?: string[]; - /** - * Select only sites with these IDs. - */ - ids?: string[]; - /** - * Maximum number of results to return. - */ - maxResults?: number; - /** - * Value of the nextPageToken from the previous result page. - */ - pageToken?: string; - /** - * User profile ID associated with this request. - */ - profileId?: string; - /** - * Allows searching for objects by name, ID or keyName. Wildcards (*) are allowed. For example, "site*2015" will return objects with names like "site June 2015", "site April 2015", or simply "site 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "site" will match objects with name "my site", "site 2015", or simply "site". - */ - searchString?: string; - /** - * Field by which to sort the list. - */ - sortField?: string; - /** - * Order of sorted results. - */ - sortOrder?: string; - /** - * Select only sites with this subaccount ID. - */ - subaccountId?: string; - /** - * Select only sites that have not been mapped to a directory site. - */ - unmappedSite?: boolean; - } - export interface Params$Resource$Sites$Patch extends StandardParameters { - /** - * Required. Site ID. - */ - id?: string; - /** - * User profile ID associated with this request. - */ - profileId?: string; + requestBody?: Schema$DfareportingStudioCreativeAssetsInsertRequest; /** - * Request body metadata - */ - requestBody?: Schema$Site; - } - export interface Params$Resource$Sites$Update extends StandardParameters { - /** - * User profile ID associated with this request. + * Media metadata */ - profileId?: string; + media?: { + /** + * Media mime-type + */ + mimeType?: string; - /** - * Request body metadata - */ - requestBody?: Schema$Site; + /** + * Media body contents + */ + body?: any; + }; } - export class Resource$Sizes { + export class Resource$Studiocreatives { context: APIRequestContext; constructor(context: APIRequestContext) { this.context = context; } /** - * Gets one size by ID. + * Gets a studio creative by ID. * @example * ```js * // Before running the sample: @@ -41503,21 +42960,27 @@ export namespace dfareporting_v4 { * google.options({auth: authClient}); * * // Do the magic - * const res = await dfareporting.sizes.get({ - * // Size ID. - * id: '[^/]+', - * // User profile ID associated with this request. - * profileId: '[^/]+', + * const res = await dfareporting.studioCreatives.get({ + * // Required. Studio creative ID. + * studioCreativeId: '[^/]+', * }); * console.log(res.data); * * // Example response * // { - * // "height": 0, - * // "iab": false, + * // "assetIds": [], + * // "backupImageAssetId": "my_backupImageAssetId", + * // "createdInfo": {}, + * // "dimension": {}, + * // "dynamicProfileId": "my_dynamicProfileId", + * // "format": "my_format", * // "id": "my_id", - * // "kind": "my_kind", - * // "width": 0 + * // "lastModifiedInfo": {}, + * // "name": "my_name", + * // "status": "my_status", + * // "studioAccountId": "my_studioAccountId", + * // "studioAdvertiserId": "my_studioAdvertiserId", + * // "studioCampaignId": "my_studioCampaignId" * // } * } * @@ -41534,51 +42997,52 @@ export namespace dfareporting_v4 { * @returns A promise if used with async/await, or void if used with a callback. */ get( - params: Params$Resource$Sizes$Get, + params: Params$Resource$Studiocreatives$Get, options: StreamMethodOptions ): Promise>; get( - params?: Params$Resource$Sizes$Get, + params?: Params$Resource$Studiocreatives$Get, options?: MethodOptions - ): Promise>; + ): Promise>; get( - params: Params$Resource$Sizes$Get, + params: Params$Resource$Studiocreatives$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; get( - params: Params$Resource$Sizes$Get, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + params: Params$Resource$Studiocreatives$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; get( - params: Params$Resource$Sizes$Get, - callback: BodyResponseCallback + params: Params$Resource$Studiocreatives$Get, + callback: BodyResponseCallback ): void; - get(callback: BodyResponseCallback): void; + get(callback: BodyResponseCallback): void; get( paramsOrCallback?: - | Params$Resource$Sizes$Get - | BodyResponseCallback + | Params$Resource$Studiocreatives$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { - let params = (paramsOrCallback || {}) as Params$Resource$Sizes$Get; + let params = (paramsOrCallback || + {}) as Params$Resource$Studiocreatives$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Sizes$Get; + params = {} as Params$Resource$Studiocreatives$Get; options = {}; } @@ -41592,7 +43056,7 @@ export namespace dfareporting_v4 { options: Object.assign( { url: ( - rootUrl + '/dfareporting/v4/userprofiles/{+profileId}/sizes/{+id}' + rootUrl + '/dfareporting/v4/studio/creatives/{+studioCreativeId}' ).replace(/([^:]\/)\/+/g, '$1'), method: 'GET', apiVersion: '', @@ -41600,22 +43064,22 @@ export namespace dfareporting_v4 { options ), params, - requiredParams: ['profileId', 'id'], - pathParams: ['id', 'profileId'], + requiredParams: ['studioCreativeId'], + pathParams: ['studioCreativeId'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Inserts a new size. + * Inserts a new studio creative. * @example * ```js * // Before running the sample: @@ -41644,19 +43108,24 @@ export namespace dfareporting_v4 { * google.options({auth: authClient}); * * // Do the magic - * const res = await dfareporting.sizes.insert({ - * // User profile ID associated with this request. - * profileId: '[^/]+', - * + * const res = await dfareporting.studioCreatives.insert({ * // Request body metadata * requestBody: { * // request body parameters * // { - * // "height": 0, - * // "iab": false, + * // "assetIds": [], + * // "backupImageAssetId": "my_backupImageAssetId", + * // "createdInfo": {}, + * // "dimension": {}, + * // "dynamicProfileId": "my_dynamicProfileId", + * // "format": "my_format", * // "id": "my_id", - * // "kind": "my_kind", - * // "width": 0 + * // "lastModifiedInfo": {}, + * // "name": "my_name", + * // "status": "my_status", + * // "studioAccountId": "my_studioAccountId", + * // "studioAdvertiserId": "my_studioAdvertiserId", + * // "studioCampaignId": "my_studioCampaignId" * // } * }, * }); @@ -41664,11 +43133,19 @@ export namespace dfareporting_v4 { * * // Example response * // { - * // "height": 0, - * // "iab": false, + * // "assetIds": [], + * // "backupImageAssetId": "my_backupImageAssetId", + * // "createdInfo": {}, + * // "dimension": {}, + * // "dynamicProfileId": "my_dynamicProfileId", + * // "format": "my_format", * // "id": "my_id", - * // "kind": "my_kind", - * // "width": 0 + * // "lastModifiedInfo": {}, + * // "name": "my_name", + * // "status": "my_status", + * // "studioAccountId": "my_studioAccountId", + * // "studioAdvertiserId": "my_studioAdvertiserId", + * // "studioCampaignId": "my_studioCampaignId" * // } * } * @@ -41685,51 +43162,52 @@ export namespace dfareporting_v4 { * @returns A promise if used with async/await, or void if used with a callback. */ insert( - params: Params$Resource$Sizes$Insert, + params: Params$Resource$Studiocreatives$Insert, options: StreamMethodOptions ): Promise>; insert( - params?: Params$Resource$Sizes$Insert, + params?: Params$Resource$Studiocreatives$Insert, options?: MethodOptions - ): Promise>; + ): Promise>; insert( - params: Params$Resource$Sizes$Insert, + params: Params$Resource$Studiocreatives$Insert, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; insert( - params: Params$Resource$Sizes$Insert, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + params: Params$Resource$Studiocreatives$Insert, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; insert( - params: Params$Resource$Sizes$Insert, - callback: BodyResponseCallback + params: Params$Resource$Studiocreatives$Insert, + callback: BodyResponseCallback ): void; - insert(callback: BodyResponseCallback): void; + insert(callback: BodyResponseCallback): void; insert( paramsOrCallback?: - | Params$Resource$Sizes$Insert - | BodyResponseCallback + | Params$Resource$Studiocreatives$Insert + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { - let params = (paramsOrCallback || {}) as Params$Resource$Sizes$Insert; + let params = (paramsOrCallback || + {}) as Params$Resource$Studiocreatives$Insert; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Sizes$Insert; + params = {} as Params$Resource$Studiocreatives$Insert; options = {}; } @@ -41742,31 +43220,32 @@ export namespace dfareporting_v4 { const parameters = { options: Object.assign( { - url: ( - rootUrl + '/dfareporting/v4/userprofiles/{+profileId}/sizes' - ).replace(/([^:]\/)\/+/g, '$1'), + url: (rootUrl + '/dfareporting/v4/studio/creatives').replace( + /([^:]\/)\/+/g, + '$1' + ), method: 'POST', apiVersion: '', }, options ), params, - requiredParams: ['profileId'], - pathParams: ['profileId'], + requiredParams: [], + pathParams: [], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Retrieves a list of sizes, possibly filtered. Retrieved sizes are globally unique and may include values not currently in use by your account. Due to this, the list of sizes returned by this method may differ from the list seen in the Trafficking UI. + * Publish for a studio creative. * @example * ```js * // Before running the sample: @@ -41795,25 +43274,11 @@ export namespace dfareporting_v4 { * google.options({auth: authClient}); * * // Do the magic - * const res = await dfareporting.sizes.list({ - * // Select only sizes with this height. - * height: 'placeholder-value', - * // Select only IAB standard sizes. - * iabStandard: 'placeholder-value', - * // Select only sizes with these IDs. - * ids: 'placeholder-value', - * // User profile ID associated with this request. - * profileId: '[^/]+', - * // Select only sizes with this width. - * width: 'placeholder-value', + * const res = await dfareporting.studioCreatives.publish({ + * // Required. Studio creative ID. + * studioCreativeId: '[^/]+', * }); * console.log(res.data); - * - * // Example response - * // { - * // "kind": "my_kind", - * // "sizes": [] - * // } * } * * main().catch(e => { @@ -41828,52 +43293,51 @@ export namespace dfareporting_v4 { * @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$Sizes$List, + publish( + params: Params$Resource$Studiocreatives$Publish, options: StreamMethodOptions ): Promise>; - list( - params?: Params$Resource$Sizes$List, + publish( + params?: Params$Resource$Studiocreatives$Publish, options?: MethodOptions - ): Promise>; - list( - params: Params$Resource$Sizes$List, + ): Promise>; + publish( + params: Params$Resource$Studiocreatives$Publish, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Sizes$List, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + publish( + params: Params$Resource$Studiocreatives$Publish, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Sizes$List, - callback: BodyResponseCallback + publish( + params: Params$Resource$Studiocreatives$Publish, + callback: BodyResponseCallback ): void; - list(callback: BodyResponseCallback): void; - list( + publish(callback: BodyResponseCallback): void; + publish( paramsOrCallback?: - | Params$Resource$Sizes$List - | BodyResponseCallback + | Params$Resource$Studiocreatives$Publish + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback + callback?: BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { - let params = (paramsOrCallback || {}) as Params$Resource$Sizes$List; + let params = (paramsOrCallback || + {}) as Params$Resource$Studiocreatives$Publish; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Sizes$List; + params = {} as Params$Resource$Studiocreatives$Publish; options = {}; } @@ -41887,71 +43351,50 @@ export namespace dfareporting_v4 { options: Object.assign( { url: ( - rootUrl + '/dfareporting/v4/userprofiles/{+profileId}/sizes' + rootUrl + + '/dfareporting/v4/studio/creatives/{+studioCreativeId}/publish' ).replace(/([^:]\/)\/+/g, '$1'), - method: 'GET', + method: 'POST', apiVersion: '', }, options ), params, - requiredParams: ['profileId'], - pathParams: ['profileId'], + requiredParams: ['studioCreativeId'], + pathParams: ['studioCreativeId'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } } - export interface Params$Resource$Sizes$Get extends StandardParameters { - /** - * Size ID. - */ - id?: string; + export interface Params$Resource$Studiocreatives$Get + extends StandardParameters { /** - * User profile ID associated with this request. + * Required. Studio creative ID. */ - profileId?: string; + studioCreativeId?: string; } - export interface Params$Resource$Sizes$Insert extends StandardParameters { - /** - * User profile ID associated with this request. - */ - profileId?: string; - + export interface Params$Resource$Studiocreatives$Insert + extends StandardParameters { /** * Request body metadata */ - requestBody?: Schema$Size; + requestBody?: Schema$StudioCreative; } - export interface Params$Resource$Sizes$List extends StandardParameters { - /** - * Select only sizes with this height. - */ - height?: number; - /** - * Select only IAB standard sizes. - */ - iabStandard?: boolean; - /** - * Select only sizes with these IDs. - */ - ids?: string[]; - /** - * User profile ID associated with this request. - */ - profileId?: string; + export interface Params$Resource$Studiocreatives$Publish + extends StandardParameters { /** - * Select only sizes with this width. + * Required. Studio creative ID. */ - width?: number; + studioCreativeId?: string; } export class Resource$Subaccounts { diff --git a/src/apis/dfareporting/v5.ts b/src/apis/dfareporting/v5.ts index aae84fb6347..b26db73d480 100644 --- a/src/apis/dfareporting/v5.ts +++ b/src/apis/dfareporting/v5.ts @@ -166,6 +166,8 @@ export namespace dfareporting_v5 { reports: Resource$Reports; sites: Resource$Sites; sizes: Resource$Sizes; + studioCreativeAssets: Resource$Studiocreativeassets; + studioCreatives: Resource$Studiocreatives; subaccounts: Resource$Subaccounts; targetableRemarketingLists: Resource$Targetableremarketinglists; targetingTemplates: Resource$Targetingtemplates; @@ -256,6 +258,10 @@ export namespace dfareporting_v5 { this.reports = new Resource$Reports(this.context); this.sites = new Resource$Sites(this.context); this.sizes = new Resource$Sizes(this.context); + this.studioCreativeAssets = new Resource$Studiocreativeassets( + this.context + ); + this.studioCreatives = new Resource$Studiocreatives(this.context); this.subaccounts = new Resource$Subaccounts(this.context); this.targetableRemarketingLists = new Resource$Targetableremarketinglists( this.context @@ -3099,6 +3105,23 @@ export namespace dfareporting_v5 { */ fieldId?: number | null; } + /** + * Request message for DfareportingStudioCreativeAssets.Insert. + */ + export interface Schema$DfareportingStudioCreativeAssetsInsertRequest { + /** + * Optional. Studio account ID of the studio creative asset. It is a optional. + */ + studioAccountId?: string | null; + /** + * Required. Studio advertiser ID of the studio creative asset. It is a required field on insertion. + */ + studioAdvertiserId?: string | null; + /** + * Optional. Studio creative ID of the studio creative asset. It is a optional field. If it is set, the asset will be associated to the creative. + */ + studioCreativeId?: string | null; + } /** * Google Ad Manager Settings */ @@ -3352,7 +3375,7 @@ export namespace dfareporting_v5 { studioAdvertiserId?: string | null; } /** - * Dynamic profile ID is required for dynamic feed insert as the current GPA API only can create a dynamic feed under profile context,even though the dynnamic feed itself don't need the dynamic profile id. See go/cm3-dco-display-api-interface + * Dynamic profile ID is required for dynamic feed insert as the current GPA API only can create a dynamic feed under profile context,even though the dynnamic feed itself don't need the dynamic profile id. See */ export interface Schema$DynamicFeedsInsertRequest { /** @@ -3430,6 +3453,15 @@ export namespace dfareporting_v5 { */ quantity?: number | null; } + /** + * Response message for DfareportingDynamicProfiles.GenerateCode. + */ + export interface Schema$DynamicProfileGenerateCodeResponse { + /** + * Generated code for the dynamic profile. + */ + code?: string | null; + } /** * Contains dynamic profile version information. */ @@ -6423,6 +6455,130 @@ export namespace dfareporting_v5 { */ sortOrder?: string | null; } + /** + * Contains studio creative information. + */ + export interface Schema$StudioCreative { + /** + * List of assets associated with this studio creative. It is a required field on insertion. + */ + assetIds?: string[] | null; + /** + * Backup image asset ID of this studio creative. + */ + backupImageAssetId?: string | null; + /** + * The timestamp when the studio creative was created. This is a read-only, auto-generated field. + */ + createdInfo?: Schema$LastModifiedInfo; + /** + * Dimension of this studio creative. This is a required field on insertion if format is BANNER or EXPANDING. + */ + dimension?: Schema$StudioCreativeDimension; + /** + * Dynamic profile ID of this studio creative. + */ + dynamicProfileId?: string | null; + /** + * Format of this studio creative. This is a required field on insertion. + */ + format?: string | null; + /** + * Output only. Unique ID of this studio creative. This is a read-only, auto-generated field. + */ + id?: string | null; + /** + * The timestamp when the studio creative was last modified. This is a read-only, auto-generated field. + */ + lastModifiedInfo?: Schema$LastModifiedInfo; + /** + * Identifier. Name of this studio creative. This is a required field on insertion. + */ + name?: string | null; + /** + * Output only. Status of this studio creative. It is a read-only field. + */ + status?: string | null; + /** + * Studio account ID of this creative. This field, if left unset, will be auto-populated. + */ + studioAccountId?: string | null; + /** + * Studio advertiser ID of this studio creative. This is a required field on insertion. + */ + studioAdvertiserId?: string | null; + /** + * Studio campaign ID of this studio creative. This is a required field on insertion. + */ + studioCampaignId?: string | null; + } + /** + * Contains studio creative asset information. + */ + export interface Schema$StudioCreativeAsset { + /** + * Output only. The creation timestamp of the studio creative asset. This is a read-only field. + */ + createInfo?: Schema$LastModifiedInfo; + /** + * The filename of the studio creative asset. It is default to the original filename of the asset. + */ + filename?: string | null; + /** + * The filesize of the studio creative asset. This is a read-only field. + */ + filesize?: string | null; + /** + * Output only. Unique ID of this studio creative asset. This is a read-only, auto-generated field. + */ + id?: string | null; + /** + * Output only. The last modified timestamp of the studio creative asset. This is a read-only field. + */ + lastModifiedInfo?: Schema$LastModifiedInfo; + /** + * Studio account ID of this studio creative asset. This field, if left unset, will be auto-populated.. + */ + studioAccountId?: string | null; + /** + * Studio advertiser ID of this studio creative asset. This is a required field on insertion. + */ + studioAdvertiserId?: string | null; + /** + * Studio creative ID of this studio creative asset. The asset will be associated to the creative if creative id is set. + */ + studioCreativeId?: string | null; + /** + * The type of the studio creative asset. It is a auto-generated, read-only field. + */ + type?: string | null; + /** + * The processing data of the studio creative asset. This is a read-only field. + */ + videoProcessingData?: Schema$VideoProcessingData; + } + /** + * Response message for DfareportingStudioCreativeAssets.Insert. + */ + export interface Schema$StudioCreativeAssetsResponse { + /** + * The list of studio creative assets. + */ + assets?: Schema$StudioCreativeAsset[]; + } + /** + * Dimension information for a studio creative. + */ + export interface Schema$StudioCreativeDimension { + /** + * Height of the studio creative. + */ + height?: number | null; + /** + * Width of the studio creative. + */ + width?: number | null; + } /** * Contains properties of a Campaign Manager subaccount. */ @@ -7115,6 +7271,19 @@ export namespace dfareporting_v5 { */ offsetSeconds?: number | null; } + /** + * Contains processing data for a video asset. + */ + export interface Schema$VideoProcessingData { + /** + * For a FAILED processing state, the error reason discovered. + */ + errorReason?: string | null; + /** + * Output only. The processing state of the studio creative asset. + */ + processingState?: string | null; + } /** * Video Settings */ @@ -24428,30 +24597,9 @@ export namespace dfareporting_v5 { return createAPIRequest(parameters); } } - } - - export interface Params$Resource$Dynamicfeeds$Get extends StandardParameters { - /** - * Required. Dynamic feed ID. - */ - dynamicFeedId?: string; - } - export interface Params$Resource$Dynamicfeeds$Insert - extends StandardParameters { - /** - * Request body metadata - */ - requestBody?: Schema$DynamicFeedsInsertRequest; - } - - export class Resource$Dynamicprofiles { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; - } /** - * Gets a dynamic profile by ID. + * Retransforms a dynamic feed. * @example * ```js * // Before running the sample: @@ -24480,23 +24628,23 @@ export namespace dfareporting_v5 { * google.options({auth: authClient}); * * // Do the magic - * const res = await dfareporting.dynamicProfiles.get({ - * // Required. Dynamic profile ID. - * dynamicProfileId: '[^/]+', + * const res = await dfareporting.dynamicFeeds.retransform({ + * // Required. Dynamic feed ID. + * dynamicFeedId: '[^/]+', * }); * console.log(res.data); * * // Example response * // { - * // "active": {}, - * // "archiveStatus": "my_archiveStatus", + * // "contentSource": {}, * // "createInfo": {}, - * // "description": "my_description", - * // "draft": {}, - * // "dynamicProfileId": "my_dynamicProfileId", - * // "kind": "my_kind", + * // "dynamicFeedId": "my_dynamicFeedId", + * // "dynamicFeedName": "my_dynamicFeedName", + * // "element": {}, + * // "feedIngestionStatus": {}, + * // "feedSchedule": {}, + * // "hasPublished": false, * // "lastModifiedInfo": {}, - * // "name": "my_name", * // "status": "my_status", * // "studioAdvertiserId": "my_studioAdvertiserId" * // } @@ -24514,53 +24662,53 @@ export namespace dfareporting_v5 { * @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$Dynamicprofiles$Get, + retransform( + params: Params$Resource$Dynamicfeeds$Retransform, options: StreamMethodOptions ): Promise>; - get( - params?: Params$Resource$Dynamicprofiles$Get, + retransform( + params?: Params$Resource$Dynamicfeeds$Retransform, options?: MethodOptions - ): Promise>; - get( - params: Params$Resource$Dynamicprofiles$Get, + ): Promise>; + retransform( + params: Params$Resource$Dynamicfeeds$Retransform, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Dynamicprofiles$Get, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + retransform( + params: Params$Resource$Dynamicfeeds$Retransform, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Dynamicprofiles$Get, - callback: BodyResponseCallback + retransform( + params: Params$Resource$Dynamicfeeds$Retransform, + callback: BodyResponseCallback ): void; - get(callback: BodyResponseCallback): void; - get( + retransform(callback: BodyResponseCallback): void; + retransform( paramsOrCallback?: - | Params$Resource$Dynamicprofiles$Get - | BodyResponseCallback + | Params$Resource$Dynamicfeeds$Retransform + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Dynamicprofiles$Get; + {}) as Params$Resource$Dynamicfeeds$Retransform; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Dynamicprofiles$Get; + params = {} as Params$Resource$Dynamicfeeds$Retransform; options = {}; } @@ -24575,30 +24723,30 @@ export namespace dfareporting_v5 { { url: ( rootUrl + - '/dfareporting/v5/studio/dynamicProfiles/{+dynamicProfileId}' + '/dfareporting/v5/studio/dynamicFeeds/{+dynamicFeedId}/retransform' ).replace(/([^:]\/)\/+/g, '$1'), - method: 'GET', + method: 'POST', apiVersion: '', }, options ), params, - requiredParams: ['dynamicProfileId'], - pathParams: ['dynamicProfileId'], + requiredParams: ['dynamicFeedId'], + pathParams: ['dynamicFeedId'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Inserts a new dynamic profile. + * Updates a new dynamic feed. * @example * ```js * // Before running the sample: @@ -24627,20 +24775,20 @@ export namespace dfareporting_v5 { * google.options({auth: authClient}); * * // Do the magic - * const res = await dfareporting.dynamicProfiles.insert({ + * const res = await dfareporting.dynamicFeeds.update({ * // Request body metadata * requestBody: { * // request body parameters * // { - * // "active": {}, - * // "archiveStatus": "my_archiveStatus", + * // "contentSource": {}, * // "createInfo": {}, - * // "description": "my_description", - * // "draft": {}, - * // "dynamicProfileId": "my_dynamicProfileId", - * // "kind": "my_kind", + * // "dynamicFeedId": "my_dynamicFeedId", + * // "dynamicFeedName": "my_dynamicFeedName", + * // "element": {}, + * // "feedIngestionStatus": {}, + * // "feedSchedule": {}, + * // "hasPublished": false, * // "lastModifiedInfo": {}, - * // "name": "my_name", * // "status": "my_status", * // "studioAdvertiserId": "my_studioAdvertiserId" * // } @@ -24650,15 +24798,15 @@ export namespace dfareporting_v5 { * * // Example response * // { - * // "active": {}, - * // "archiveStatus": "my_archiveStatus", + * // "contentSource": {}, * // "createInfo": {}, - * // "description": "my_description", - * // "draft": {}, - * // "dynamicProfileId": "my_dynamicProfileId", - * // "kind": "my_kind", + * // "dynamicFeedId": "my_dynamicFeedId", + * // "dynamicFeedName": "my_dynamicFeedName", + * // "element": {}, + * // "feedIngestionStatus": {}, + * // "feedSchedule": {}, + * // "hasPublished": false, * // "lastModifiedInfo": {}, - * // "name": "my_name", * // "status": "my_status", * // "studioAdvertiserId": "my_studioAdvertiserId" * // } @@ -24676,53 +24824,53 @@ export namespace dfareporting_v5 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - insert( - params: Params$Resource$Dynamicprofiles$Insert, + update( + params: Params$Resource$Dynamicfeeds$Update, options: StreamMethodOptions ): Promise>; - insert( - params?: Params$Resource$Dynamicprofiles$Insert, + update( + params?: Params$Resource$Dynamicfeeds$Update, options?: MethodOptions - ): Promise>; - insert( - params: Params$Resource$Dynamicprofiles$Insert, + ): Promise>; + update( + params: Params$Resource$Dynamicfeeds$Update, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - insert( - params: Params$Resource$Dynamicprofiles$Insert, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + update( + params: Params$Resource$Dynamicfeeds$Update, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - insert( - params: Params$Resource$Dynamicprofiles$Insert, - callback: BodyResponseCallback + update( + params: Params$Resource$Dynamicfeeds$Update, + callback: BodyResponseCallback ): void; - insert(callback: BodyResponseCallback): void; - insert( + update(callback: BodyResponseCallback): void; + update( paramsOrCallback?: - | Params$Resource$Dynamicprofiles$Insert - | BodyResponseCallback + | Params$Resource$Dynamicfeeds$Update + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Dynamicprofiles$Insert; + {}) as Params$Resource$Dynamicfeeds$Update; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Dynamicprofiles$Insert; + params = {} as Params$Resource$Dynamicfeeds$Update; options = {}; } @@ -24735,11 +24883,11 @@ export namespace dfareporting_v5 { const parameters = { options: Object.assign( { - url: (rootUrl + '/dfareporting/v5/studio/dynamicProfiles').replace( + url: (rootUrl + '/dfareporting/v5/studio/dynamicFeeds').replace( /([^:]\/)\/+/g, '$1' ), - method: 'POST', + method: 'PUT', apiVersion: '', }, options @@ -24750,17 +24898,52 @@ export namespace dfareporting_v5 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } + } + export interface Params$Resource$Dynamicfeeds$Get extends StandardParameters { /** - * Updates an existing dynamic profile. + * Required. Dynamic feed ID. + */ + dynamicFeedId?: string; + } + export interface Params$Resource$Dynamicfeeds$Insert + extends StandardParameters { + /** + * Request body metadata + */ + requestBody?: Schema$DynamicFeedsInsertRequest; + } + export interface Params$Resource$Dynamicfeeds$Retransform + extends StandardParameters { + /** + * Required. Dynamic feed ID. + */ + dynamicFeedId?: string; + } + export interface Params$Resource$Dynamicfeeds$Update + extends StandardParameters { + /** + * Request body metadata + */ + requestBody?: Schema$DynamicFeed; + } + + export class Resource$Dynamicprofiles { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Generates code for a dynamic profile. * @example * ```js * // Before running the sample: @@ -24789,40 +24972,15 @@ export namespace dfareporting_v5 { * google.options({auth: authClient}); * * // Do the magic - * const res = await dfareporting.dynamicProfiles.update({ - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "active": {}, - * // "archiveStatus": "my_archiveStatus", - * // "createInfo": {}, - * // "description": "my_description", - * // "draft": {}, - * // "dynamicProfileId": "my_dynamicProfileId", - * // "kind": "my_kind", - * // "lastModifiedInfo": {}, - * // "name": "my_name", - * // "status": "my_status", - * // "studioAdvertiserId": "my_studioAdvertiserId" - * // } - * }, + * const res = await dfareporting.dynamicProfiles.generateCode({ + * // Required. Dynamic profile ID. + * dynamicProfileId: '[^/]+', * }); * console.log(res.data); * * // Example response * // { - * // "active": {}, - * // "archiveStatus": "my_archiveStatus", - * // "createInfo": {}, - * // "description": "my_description", - * // "draft": {}, - * // "dynamicProfileId": "my_dynamicProfileId", - * // "kind": "my_kind", - * // "lastModifiedInfo": {}, - * // "name": "my_name", - * // "status": "my_status", - * // "studioAdvertiserId": "my_studioAdvertiserId" + * // "code": "my_code" * // } * } * @@ -24838,53 +24996,61 @@ export namespace dfareporting_v5 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - update( - params: Params$Resource$Dynamicprofiles$Update, + generateCode( + params: Params$Resource$Dynamicprofiles$Generatecode, options: StreamMethodOptions ): Promise>; - update( - params?: Params$Resource$Dynamicprofiles$Update, + generateCode( + params?: Params$Resource$Dynamicprofiles$Generatecode, options?: MethodOptions - ): Promise>; - update( - params: Params$Resource$Dynamicprofiles$Update, + ): Promise< + GaxiosResponseWithHTTP2 + >; + generateCode( + params: Params$Resource$Dynamicprofiles$Generatecode, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - update( - params: Params$Resource$Dynamicprofiles$Update, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + generateCode( + params: Params$Resource$Dynamicprofiles$Generatecode, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - update( - params: Params$Resource$Dynamicprofiles$Update, - callback: BodyResponseCallback + generateCode( + params: Params$Resource$Dynamicprofiles$Generatecode, + callback: BodyResponseCallback ): void; - update(callback: BodyResponseCallback): void; - update( + generateCode( + callback: BodyResponseCallback + ): void; + generateCode( paramsOrCallback?: - | Params$Resource$Dynamicprofiles$Update - | BodyResponseCallback + | Params$Resource$Dynamicprofiles$Generatecode + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise< + GaxiosResponseWithHTTP2 + > | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Dynamicprofiles$Update; + {}) as Params$Resource$Dynamicprofiles$Generatecode; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Dynamicprofiles$Update; + params = {} as Params$Resource$Dynamicprofiles$Generatecode; options = {}; } @@ -24897,61 +25063,34 @@ export namespace dfareporting_v5 { const parameters = { options: Object.assign( { - url: (rootUrl + '/dfareporting/v5/studio/dynamicProfiles').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'PUT', + url: ( + rootUrl + + '/dfareporting/v5/studio/dynamicProfiles/{+dynamicProfileId}/generateCode' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', apiVersion: '', }, options ), params, - requiredParams: [], - pathParams: [], + requiredParams: ['dynamicProfileId'], + pathParams: ['dynamicProfileId'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest( + parameters + ); } } - } - - export interface Params$Resource$Dynamicprofiles$Get - extends StandardParameters { - /** - * Required. Dynamic profile ID. - */ - dynamicProfileId?: string; - } - export interface Params$Resource$Dynamicprofiles$Insert - extends StandardParameters { - /** - * Request body metadata - */ - requestBody?: Schema$DynamicProfile; - } - export interface Params$Resource$Dynamicprofiles$Update - extends StandardParameters { - /** - * Request body metadata - */ - requestBody?: Schema$DynamicProfile; - } - - export class Resource$Dynamictargetingkeys { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; - } /** - * Deletes an existing dynamic targeting key. + * Gets a dynamic profile by ID. * @example * ```js * // Before running the sample: @@ -24980,17 +25119,26 @@ export namespace dfareporting_v5 { * google.options({auth: authClient}); * * // Do the magic - * const res = await dfareporting.dynamicTargetingKeys.delete({ - * // Required. Name of this dynamic targeting key. This is a required field. Must be less than 256 characters long and cannot contain commas. All characters are converted to lowercase. - * name: 'placeholder-value', - * // ID of the object of this dynamic targeting key. This is a required field. - * objectId: '[^/]+', - * // Required. Type of the object of this dynamic targeting key. This is a required field. - * objectType: 'placeholder-value', - * // User profile ID associated with this request. - * profileId: '[^/]+', + * const res = await dfareporting.dynamicProfiles.get({ + * // Required. Dynamic profile ID. + * dynamicProfileId: '[^/]+', * }); * console.log(res.data); + * + * // Example response + * // { + * // "active": {}, + * // "archiveStatus": "my_archiveStatus", + * // "createInfo": {}, + * // "description": "my_description", + * // "draft": {}, + * // "dynamicProfileId": "my_dynamicProfileId", + * // "kind": "my_kind", + * // "lastModifiedInfo": {}, + * // "name": "my_name", + * // "status": "my_status", + * // "studioAdvertiserId": "my_studioAdvertiserId" + * // } * } * * main().catch(e => { @@ -25005,51 +25153,53 @@ export namespace dfareporting_v5 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - delete( - params: Params$Resource$Dynamictargetingkeys$Delete, + get( + params: Params$Resource$Dynamicprofiles$Get, options: StreamMethodOptions ): Promise>; - delete( - params?: Params$Resource$Dynamictargetingkeys$Delete, + get( + params?: Params$Resource$Dynamicprofiles$Get, options?: MethodOptions - ): Promise>; - delete( - params: Params$Resource$Dynamictargetingkeys$Delete, + ): Promise>; + get( + params: Params$Resource$Dynamicprofiles$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Dynamictargetingkeys$Delete, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + get( + params: Params$Resource$Dynamicprofiles$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Dynamictargetingkeys$Delete, - callback: BodyResponseCallback + get( + params: Params$Resource$Dynamicprofiles$Get, + callback: BodyResponseCallback ): void; - delete(callback: BodyResponseCallback): void; - delete( + get(callback: BodyResponseCallback): void; + get( paramsOrCallback?: - | Params$Resource$Dynamictargetingkeys$Delete - | BodyResponseCallback + | Params$Resource$Dynamicprofiles$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, - callback?: BodyResponseCallback | BodyResponseCallback + callback?: + | BodyResponseCallback + | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Dynamictargetingkeys$Delete; + {}) as Params$Resource$Dynamicprofiles$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Dynamictargetingkeys$Delete; + params = {} as Params$Resource$Dynamicprofiles$Get; options = {}; } @@ -25064,30 +25214,30 @@ export namespace dfareporting_v5 { { url: ( rootUrl + - '/dfareporting/v5/userprofiles/{+profileId}/dynamicTargetingKeys/{+objectId}' + '/dfareporting/v5/studio/dynamicProfiles/{+dynamicProfileId}' ).replace(/([^:]\/)\/+/g, '$1'), - method: 'DELETE', + method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['profileId', 'objectId', 'name', 'objectType'], - pathParams: ['objectId', 'profileId'], + requiredParams: ['dynamicProfileId'], + pathParams: ['dynamicProfileId'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Inserts a new dynamic targeting key. Keys must be created at the advertiser level before being assigned to the advertiser's ads, creatives, or placements. There is a maximum of 1000 keys per advertiser, out of which a maximum of 20 keys can be assigned per ad, creative, or placement. + * Inserts a new dynamic profile. * @example * ```js * // Before running the sample: @@ -25116,18 +25266,22 @@ export namespace dfareporting_v5 { * google.options({auth: authClient}); * * // Do the magic - * const res = await dfareporting.dynamicTargetingKeys.insert({ - * // User profile ID associated with this request. - * profileId: '[^/]+', - * + * const res = await dfareporting.dynamicProfiles.insert({ * // Request body metadata * requestBody: { * // request body parameters * // { + * // "active": {}, + * // "archiveStatus": "my_archiveStatus", + * // "createInfo": {}, + * // "description": "my_description", + * // "draft": {}, + * // "dynamicProfileId": "my_dynamicProfileId", * // "kind": "my_kind", + * // "lastModifiedInfo": {}, * // "name": "my_name", - * // "objectId": "my_objectId", - * // "objectType": "my_objectType" + * // "status": "my_status", + * // "studioAdvertiserId": "my_studioAdvertiserId" * // } * }, * }); @@ -25135,10 +25289,17 @@ export namespace dfareporting_v5 { * * // Example response * // { + * // "active": {}, + * // "archiveStatus": "my_archiveStatus", + * // "createInfo": {}, + * // "description": "my_description", + * // "draft": {}, + * // "dynamicProfileId": "my_dynamicProfileId", * // "kind": "my_kind", + * // "lastModifiedInfo": {}, * // "name": "my_name", - * // "objectId": "my_objectId", - * // "objectType": "my_objectType" + * // "status": "my_status", + * // "studioAdvertiserId": "my_studioAdvertiserId" * // } * } * @@ -25155,52 +25316,52 @@ export namespace dfareporting_v5 { * @returns A promise if used with async/await, or void if used with a callback. */ insert( - params: Params$Resource$Dynamictargetingkeys$Insert, + params: Params$Resource$Dynamicprofiles$Insert, options: StreamMethodOptions ): Promise>; insert( - params?: Params$Resource$Dynamictargetingkeys$Insert, + params?: Params$Resource$Dynamicprofiles$Insert, options?: MethodOptions - ): Promise>; + ): Promise>; insert( - params: Params$Resource$Dynamictargetingkeys$Insert, + params: Params$Resource$Dynamicprofiles$Insert, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; insert( - params: Params$Resource$Dynamictargetingkeys$Insert, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + params: Params$Resource$Dynamicprofiles$Insert, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; insert( - params: Params$Resource$Dynamictargetingkeys$Insert, - callback: BodyResponseCallback + params: Params$Resource$Dynamicprofiles$Insert, + callback: BodyResponseCallback ): void; - insert(callback: BodyResponseCallback): void; + insert(callback: BodyResponseCallback): void; insert( paramsOrCallback?: - | Params$Resource$Dynamictargetingkeys$Insert - | BodyResponseCallback + | Params$Resource$Dynamicprofiles$Insert + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Dynamictargetingkeys$Insert; + {}) as Params$Resource$Dynamicprofiles$Insert; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Dynamictargetingkeys$Insert; + params = {} as Params$Resource$Dynamicprofiles$Insert; options = {}; } @@ -25213,32 +25374,32 @@ export namespace dfareporting_v5 { const parameters = { options: Object.assign( { - url: ( - rootUrl + - '/dfareporting/v5/userprofiles/{+profileId}/dynamicTargetingKeys' - ).replace(/([^:]\/)\/+/g, '$1'), + url: (rootUrl + '/dfareporting/v5/studio/dynamicProfiles').replace( + /([^:]\/)\/+/g, + '$1' + ), method: 'POST', apiVersion: '', }, options ), params, - requiredParams: ['profileId'], - pathParams: ['profileId'], + requiredParams: [], + pathParams: [], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Retrieves a list of dynamic targeting keys. + * Publish for a dynamic profile. * @example * ```js * // Before running the sample: @@ -25267,25 +25428,11 @@ export namespace dfareporting_v5 { * google.options({auth: authClient}); * * // Do the magic - * const res = await dfareporting.dynamicTargetingKeys.list({ - * // Select only dynamic targeting keys whose object has this advertiser ID. - * advertiserId: 'placeholder-value', - * // Select only dynamic targeting keys exactly matching these names. - * names: 'placeholder-value', - * // Select only dynamic targeting keys with this object ID. - * objectId: 'placeholder-value', - * // Select only dynamic targeting keys with this object type. - * objectType: 'placeholder-value', - * // User profile ID associated with this request. - * profileId: '[^/]+', + * const res = await dfareporting.dynamicProfiles.publish({ + * // Required. Dynamic profile ID. + * dynamicProfileId: '[^/]+', * }); * console.log(res.data); - * - * // Example response - * // { - * // "dynamicTargetingKeys": [], - * // "kind": "my_kind" - * // } * } * * main().catch(e => { @@ -25300,61 +25447,51 @@ export namespace dfareporting_v5 { * @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$Dynamictargetingkeys$List, + publish( + params: Params$Resource$Dynamicprofiles$Publish, options: StreamMethodOptions ): Promise>; - list( - params?: Params$Resource$Dynamictargetingkeys$List, + publish( + params?: Params$Resource$Dynamicprofiles$Publish, options?: MethodOptions - ): Promise< - GaxiosResponseWithHTTP2 - >; - list( - params: Params$Resource$Dynamictargetingkeys$List, + ): Promise>; + publish( + params: Params$Resource$Dynamicprofiles$Publish, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Dynamictargetingkeys$List, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - list( - params: Params$Resource$Dynamictargetingkeys$List, - callback: BodyResponseCallback + publish( + params: Params$Resource$Dynamicprofiles$Publish, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - list( - callback: BodyResponseCallback + publish( + params: Params$Resource$Dynamicprofiles$Publish, + callback: BodyResponseCallback ): void; - list( + publish(callback: BodyResponseCallback): void; + publish( paramsOrCallback?: - | Params$Resource$Dynamictargetingkeys$List - | BodyResponseCallback + | Params$Resource$Dynamicprofiles$Publish + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback + callback?: BodyResponseCallback | BodyResponseCallback ): | void - | Promise< - GaxiosResponseWithHTTP2 - > + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Dynamictargetingkeys$List; + {}) as Params$Resource$Dynamicprofiles$Publish; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Dynamictargetingkeys$List; + params = {} as Params$Resource$Dynamicprofiles$Publish; options = {}; } @@ -25369,94 +25506,30 @@ export namespace dfareporting_v5 { { url: ( rootUrl + - '/dfareporting/v5/userprofiles/{+profileId}/dynamicTargetingKeys' + '/dfareporting/v5/studio/dynamicProfiles/{+dynamicProfileId}/publish' ).replace(/([^:]\/)\/+/g, '$1'), - method: 'GET', + method: 'POST', apiVersion: '', }, options ), params, - requiredParams: ['profileId'], - pathParams: ['profileId'], + requiredParams: ['dynamicProfileId'], + pathParams: ['dynamicProfileId'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( - parameters - ); + return createAPIRequest(parameters); } } - } - - export interface Params$Resource$Dynamictargetingkeys$Delete - extends StandardParameters { - /** - * Required. Name of this dynamic targeting key. This is a required field. Must be less than 256 characters long and cannot contain commas. All characters are converted to lowercase. - */ - name?: string; - /** - * ID of the object of this dynamic targeting key. This is a required field. - */ - objectId?: string; - /** - * Required. Type of the object of this dynamic targeting key. This is a required field. - */ - objectType?: string; - /** - * User profile ID associated with this request. - */ - profileId?: string; - } - export interface Params$Resource$Dynamictargetingkeys$Insert - extends StandardParameters { - /** - * User profile ID associated with this request. - */ - profileId?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$DynamicTargetingKey; - } - export interface Params$Resource$Dynamictargetingkeys$List - extends StandardParameters { - /** - * Select only dynamic targeting keys whose object has this advertiser ID. - */ - advertiserId?: string; - /** - * Select only dynamic targeting keys exactly matching these names. - */ - names?: string[]; - /** - * Select only dynamic targeting keys with this object ID. - */ - objectId?: string; - /** - * Select only dynamic targeting keys with this object type. - */ - objectType?: string; - /** - * User profile ID associated with this request. - */ - profileId?: string; - } - - export class Resource$Eventtags { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; - } /** - * Deletes an existing event tag. + * Updates an existing dynamic profile. * @example * ```js * // Before running the sample: @@ -25485,13 +25558,41 @@ export namespace dfareporting_v5 { * google.options({auth: authClient}); * * // Do the magic - * const res = await dfareporting.eventTags.delete({ - * // Event tag ID. - * id: '[^/]+', - * // User profile ID associated with this request. - * profileId: '[^/]+', + * const res = await dfareporting.dynamicProfiles.update({ + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "active": {}, + * // "archiveStatus": "my_archiveStatus", + * // "createInfo": {}, + * // "description": "my_description", + * // "draft": {}, + * // "dynamicProfileId": "my_dynamicProfileId", + * // "kind": "my_kind", + * // "lastModifiedInfo": {}, + * // "name": "my_name", + * // "status": "my_status", + * // "studioAdvertiserId": "my_studioAdvertiserId" + * // } + * }, * }); * console.log(res.data); + * + * // Example response + * // { + * // "active": {}, + * // "archiveStatus": "my_archiveStatus", + * // "createInfo": {}, + * // "description": "my_description", + * // "draft": {}, + * // "dynamicProfileId": "my_dynamicProfileId", + * // "kind": "my_kind", + * // "lastModifiedInfo": {}, + * // "name": "my_name", + * // "status": "my_status", + * // "studioAdvertiserId": "my_studioAdvertiserId" + * // } * } * * main().catch(e => { @@ -25506,50 +25607,53 @@ export namespace dfareporting_v5 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - delete( - params: Params$Resource$Eventtags$Delete, + update( + params: Params$Resource$Dynamicprofiles$Update, options: StreamMethodOptions ): Promise>; - delete( - params?: Params$Resource$Eventtags$Delete, + update( + params?: Params$Resource$Dynamicprofiles$Update, options?: MethodOptions - ): Promise>; - delete( - params: Params$Resource$Eventtags$Delete, + ): Promise>; + update( + params: Params$Resource$Dynamicprofiles$Update, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Eventtags$Delete, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + update( + params: Params$Resource$Dynamicprofiles$Update, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Eventtags$Delete, - callback: BodyResponseCallback + update( + params: Params$Resource$Dynamicprofiles$Update, + callback: BodyResponseCallback ): void; - delete(callback: BodyResponseCallback): void; - delete( + update(callback: BodyResponseCallback): void; + update( paramsOrCallback?: - | Params$Resource$Eventtags$Delete - | BodyResponseCallback + | Params$Resource$Dynamicprofiles$Update + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, - callback?: BodyResponseCallback | BodyResponseCallback + callback?: + | BodyResponseCallback + | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { - let params = (paramsOrCallback || {}) as Params$Resource$Eventtags$Delete; + let params = (paramsOrCallback || + {}) as Params$Resource$Dynamicprofiles$Update; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Eventtags$Delete; + params = {} as Params$Resource$Dynamicprofiles$Update; options = {}; } @@ -25562,32 +25666,75 @@ export namespace dfareporting_v5 { const parameters = { options: Object.assign( { - url: ( - rootUrl + - '/dfareporting/v5/userprofiles/{+profileId}/eventTags/{+id}' - ).replace(/([^:]\/)\/+/g, '$1'), - method: 'DELETE', + url: (rootUrl + '/dfareporting/v5/studio/dynamicProfiles').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'PUT', apiVersion: '', }, options ), params, - requiredParams: ['profileId', 'id'], - pathParams: ['id', 'profileId'], + requiredParams: [], + pathParams: [], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } + } + export interface Params$Resource$Dynamicprofiles$Generatecode + extends StandardParameters { /** - * Gets one event tag by ID. + * Required. Dynamic profile ID. + */ + dynamicProfileId?: string; + } + export interface Params$Resource$Dynamicprofiles$Get + extends StandardParameters { + /** + * Required. Dynamic profile ID. + */ + dynamicProfileId?: string; + } + export interface Params$Resource$Dynamicprofiles$Insert + extends StandardParameters { + /** + * Request body metadata + */ + requestBody?: Schema$DynamicProfile; + } + export interface Params$Resource$Dynamicprofiles$Publish + extends StandardParameters { + /** + * Required. Dynamic profile ID. + */ + dynamicProfileId?: string; + } + export interface Params$Resource$Dynamicprofiles$Update + extends StandardParameters { + /** + * Request body metadata + */ + requestBody?: Schema$DynamicProfile; + } + + export class Resource$Dynamictargetingkeys { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Deletes an existing dynamic targeting key. * @example * ```js * // Before running the sample: @@ -25616,35 +25763,17 @@ export namespace dfareporting_v5 { * google.options({auth: authClient}); * * // Do the magic - * const res = await dfareporting.eventTags.get({ - * // Event tag ID. - * id: '[^/]+', + * const res = await dfareporting.dynamicTargetingKeys.delete({ + * // Required. Name of this dynamic targeting key. This is a required field. Must be less than 256 characters long and cannot contain commas. All characters are converted to lowercase. + * name: 'placeholder-value', + * // ID of the object of this dynamic targeting key. This is a required field. + * objectId: '[^/]+', + * // Required. Type of the object of this dynamic targeting key. This is a required field. + * objectType: 'placeholder-value', * // User profile ID associated with this request. * profileId: '[^/]+', * }); * console.log(res.data); - * - * // Example response - * // { - * // "accountId": "my_accountId", - * // "advertiserId": "my_advertiserId", - * // "advertiserIdDimensionValue": {}, - * // "campaignId": "my_campaignId", - * // "campaignIdDimensionValue": {}, - * // "enabledByDefault": false, - * // "excludeFromAdxRequests": false, - * // "id": "my_id", - * // "kind": "my_kind", - * // "name": "my_name", - * // "siteFilterType": "my_siteFilterType", - * // "siteIds": [], - * // "sslCompliant": false, - * // "status": "my_status", - * // "subaccountId": "my_subaccountId", - * // "type": "my_type", - * // "url": "my_url", - * // "urlEscapeLevels": 0 - * // } * } * * main().catch(e => { @@ -25659,52 +25788,51 @@ export namespace dfareporting_v5 { * @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$Eventtags$Get, + delete( + params: Params$Resource$Dynamictargetingkeys$Delete, options: StreamMethodOptions ): Promise>; - get( - params?: Params$Resource$Eventtags$Get, + delete( + params?: Params$Resource$Dynamictargetingkeys$Delete, options?: MethodOptions - ): Promise>; - get( - params: Params$Resource$Eventtags$Get, + ): Promise>; + delete( + params: Params$Resource$Dynamictargetingkeys$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Eventtags$Get, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + delete( + params: Params$Resource$Dynamictargetingkeys$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Eventtags$Get, - callback: BodyResponseCallback + delete( + params: Params$Resource$Dynamictargetingkeys$Delete, + callback: BodyResponseCallback ): void; - get(callback: BodyResponseCallback): void; - get( + delete(callback: BodyResponseCallback): void; + delete( paramsOrCallback?: - | Params$Resource$Eventtags$Get - | BodyResponseCallback + | Params$Resource$Dynamictargetingkeys$Delete + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback + callback?: BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { - let params = (paramsOrCallback || {}) as Params$Resource$Eventtags$Get; + let params = (paramsOrCallback || + {}) as Params$Resource$Dynamictargetingkeys$Delete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Eventtags$Get; + params = {} as Params$Resource$Dynamictargetingkeys$Delete; options = {}; } @@ -25719,30 +25847,30 @@ export namespace dfareporting_v5 { { url: ( rootUrl + - '/dfareporting/v5/userprofiles/{+profileId}/eventTags/{+id}' + '/dfareporting/v5/userprofiles/{+profileId}/dynamicTargetingKeys/{+objectId}' ).replace(/([^:]\/)\/+/g, '$1'), - method: 'GET', + method: 'DELETE', apiVersion: '', }, options ), params, - requiredParams: ['profileId', 'id'], - pathParams: ['id', 'profileId'], + requiredParams: ['profileId', 'objectId', 'name', 'objectType'], + pathParams: ['objectId', 'profileId'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Inserts a new event tag. + * Inserts a new dynamic targeting key. Keys must be created at the advertiser level before being assigned to the advertiser's ads, creatives, or placements. There is a maximum of 1000 keys per advertiser, out of which a maximum of 20 keys can be assigned per ad, creative, or placement. * @example * ```js * // Before running the sample: @@ -25771,7 +25899,7 @@ export namespace dfareporting_v5 { * google.options({auth: authClient}); * * // Do the magic - * const res = await dfareporting.eventTags.insert({ + * const res = await dfareporting.dynamicTargetingKeys.insert({ * // User profile ID associated with this request. * profileId: '[^/]+', * @@ -25779,24 +25907,10 @@ export namespace dfareporting_v5 { * requestBody: { * // request body parameters * // { - * // "accountId": "my_accountId", - * // "advertiserId": "my_advertiserId", - * // "advertiserIdDimensionValue": {}, - * // "campaignId": "my_campaignId", - * // "campaignIdDimensionValue": {}, - * // "enabledByDefault": false, - * // "excludeFromAdxRequests": false, - * // "id": "my_id", * // "kind": "my_kind", * // "name": "my_name", - * // "siteFilterType": "my_siteFilterType", - * // "siteIds": [], - * // "sslCompliant": false, - * // "status": "my_status", - * // "subaccountId": "my_subaccountId", - * // "type": "my_type", - * // "url": "my_url", - * // "urlEscapeLevels": 0 + * // "objectId": "my_objectId", + * // "objectType": "my_objectType" * // } * }, * }); @@ -25804,24 +25918,10 @@ export namespace dfareporting_v5 { * * // Example response * // { - * // "accountId": "my_accountId", - * // "advertiserId": "my_advertiserId", - * // "advertiserIdDimensionValue": {}, - * // "campaignId": "my_campaignId", - * // "campaignIdDimensionValue": {}, - * // "enabledByDefault": false, - * // "excludeFromAdxRequests": false, - * // "id": "my_id", * // "kind": "my_kind", * // "name": "my_name", - * // "siteFilterType": "my_siteFilterType", - * // "siteIds": [], - * // "sslCompliant": false, - * // "status": "my_status", - * // "subaccountId": "my_subaccountId", - * // "type": "my_type", - * // "url": "my_url", - * // "urlEscapeLevels": 0 + * // "objectId": "my_objectId", + * // "objectType": "my_objectType" * // } * } * @@ -25838,51 +25938,52 @@ export namespace dfareporting_v5 { * @returns A promise if used with async/await, or void if used with a callback. */ insert( - params: Params$Resource$Eventtags$Insert, + params: Params$Resource$Dynamictargetingkeys$Insert, options: StreamMethodOptions ): Promise>; insert( - params?: Params$Resource$Eventtags$Insert, + params?: Params$Resource$Dynamictargetingkeys$Insert, options?: MethodOptions - ): Promise>; + ): Promise>; insert( - params: Params$Resource$Eventtags$Insert, + params: Params$Resource$Dynamictargetingkeys$Insert, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; insert( - params: Params$Resource$Eventtags$Insert, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + params: Params$Resource$Dynamictargetingkeys$Insert, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; insert( - params: Params$Resource$Eventtags$Insert, - callback: BodyResponseCallback + params: Params$Resource$Dynamictargetingkeys$Insert, + callback: BodyResponseCallback ): void; - insert(callback: BodyResponseCallback): void; + insert(callback: BodyResponseCallback): void; insert( paramsOrCallback?: - | Params$Resource$Eventtags$Insert - | BodyResponseCallback + | Params$Resource$Dynamictargetingkeys$Insert + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { - let params = (paramsOrCallback || {}) as Params$Resource$Eventtags$Insert; + let params = (paramsOrCallback || + {}) as Params$Resource$Dynamictargetingkeys$Insert; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Eventtags$Insert; + params = {} as Params$Resource$Dynamictargetingkeys$Insert; options = {}; } @@ -25896,7 +25997,8 @@ export namespace dfareporting_v5 { options: Object.assign( { url: ( - rootUrl + '/dfareporting/v5/userprofiles/{+profileId}/eventTags' + rootUrl + + '/dfareporting/v5/userprofiles/{+profileId}/dynamicTargetingKeys' ).replace(/([^:]\/)\/+/g, '$1'), method: 'POST', apiVersion: '', @@ -25909,17 +26011,17 @@ export namespace dfareporting_v5 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Retrieves a list of event tags, possibly filtered. + * Retrieves a list of dynamic targeting keys. * @example * ```js * // Before running the sample: @@ -25948,35 +26050,23 @@ export namespace dfareporting_v5 { * google.options({auth: authClient}); * * // Do the magic - * const res = await dfareporting.eventTags.list({ - * // Select only event tags that belong to this ad. - * adId: 'placeholder-value', - * // Select only event tags that belong to this advertiser. + * const res = await dfareporting.dynamicTargetingKeys.list({ + * // Select only dynamic targeting keys whose object has this advertiser ID. * advertiserId: 'placeholder-value', - * // Select only event tags that belong to this campaign. - * campaignId: 'placeholder-value', - * // Examine only the specified campaign or advertiser's event tags for matching selector criteria. When set to false, the parent advertiser and parent campaign of the specified ad or campaign is examined as well. In addition, when set to false, the status field is examined as well, along with the enabledByDefault field. This parameter can not be set to true when adId is specified as ads do not define their own even tags. - * definitionsOnly: 'placeholder-value', - * // Select only enabled event tags. What is considered enabled or disabled depends on the definitionsOnly parameter. When definitionsOnly is set to true, only the specified advertiser or campaign's event tags' enabledByDefault field is examined. When definitionsOnly is set to false, the specified ad or specified campaign's parent advertiser's or parent campaign's event tags' enabledByDefault and status fields are examined as well. - * enabled: 'placeholder-value', - * // Select only event tags with the specified event tag types. Event tag types can be used to specify whether to use a third-party pixel, a third-party JavaScript URL, or a third-party click-through URL for either impression or click tracking. - * eventTagTypes: 'placeholder-value', - * // Select only event tags with these IDs. - * ids: 'placeholder-value', + * // Select only dynamic targeting keys exactly matching these names. + * names: 'placeholder-value', + * // Select only dynamic targeting keys with this object ID. + * objectId: 'placeholder-value', + * // Select only dynamic targeting keys with this object type. + * objectType: 'placeholder-value', * // User profile ID associated with this request. * profileId: '[^/]+', - * // Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "eventtag*2015" will return objects with names like "eventtag June 2015", "eventtag April 2015", or simply "eventtag 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "eventtag" will match objects with name "my eventtag", "eventtag 2015", or simply "eventtag". - * searchString: 'placeholder-value', - * // Field by which to sort the list. - * sortField: 'placeholder-value', - * // Order of sorted results. - * sortOrder: 'placeholder-value', * }); * console.log(res.data); * * // Example response * // { - * // "eventTags": [], + * // "dynamicTargetingKeys": [], * // "kind": "my_kind" * // } * } @@ -25994,53 +26084,60 @@ export namespace dfareporting_v5 { * @returns A promise if used with async/await, or void if used with a callback. */ list( - params: Params$Resource$Eventtags$List, + params: Params$Resource$Dynamictargetingkeys$List, options: StreamMethodOptions ): Promise>; list( - params?: Params$Resource$Eventtags$List, + params?: Params$Resource$Dynamictargetingkeys$List, options?: MethodOptions - ): Promise>; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( - params: Params$Resource$Eventtags$List, + params: Params$Resource$Dynamictargetingkeys$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; list( - params: Params$Resource$Eventtags$List, + params: Params$Resource$Dynamictargetingkeys$List, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; list( - params: Params$Resource$Eventtags$List, - callback: BodyResponseCallback + params: Params$Resource$Dynamictargetingkeys$List, + callback: BodyResponseCallback + ): void; + list( + callback: BodyResponseCallback ): void; - list(callback: BodyResponseCallback): void; list( paramsOrCallback?: - | Params$Resource$Eventtags$List - | BodyResponseCallback + | Params$Resource$Dynamictargetingkeys$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise< + GaxiosResponseWithHTTP2 + > | Promise> { - let params = (paramsOrCallback || {}) as Params$Resource$Eventtags$List; + let params = (paramsOrCallback || + {}) as Params$Resource$Dynamictargetingkeys$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Eventtags$List; + params = {} as Params$Resource$Dynamictargetingkeys$List; options = {}; } @@ -26054,7 +26151,8 @@ export namespace dfareporting_v5 { options: Object.assign( { url: ( - rootUrl + '/dfareporting/v5/userprofiles/{+profileId}/eventTags' + rootUrl + + '/dfareporting/v5/userprofiles/{+profileId}/dynamicTargetingKeys' ).replace(/([^:]\/)\/+/g, '$1'), method: 'GET', apiVersion: '', @@ -26067,17 +26165,81 @@ export namespace dfareporting_v5 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest( + parameters + ); } } + } + export interface Params$Resource$Dynamictargetingkeys$Delete + extends StandardParameters { /** - * Updates an existing event tag. This method supports patch semantics. + * Required. Name of this dynamic targeting key. This is a required field. Must be less than 256 characters long and cannot contain commas. All characters are converted to lowercase. + */ + name?: string; + /** + * ID of the object of this dynamic targeting key. This is a required field. + */ + objectId?: string; + /** + * Required. Type of the object of this dynamic targeting key. This is a required field. + */ + objectType?: string; + /** + * User profile ID associated with this request. + */ + profileId?: string; + } + export interface Params$Resource$Dynamictargetingkeys$Insert + extends StandardParameters { + /** + * User profile ID associated with this request. + */ + profileId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$DynamicTargetingKey; + } + export interface Params$Resource$Dynamictargetingkeys$List + extends StandardParameters { + /** + * Select only dynamic targeting keys whose object has this advertiser ID. + */ + advertiserId?: string; + /** + * Select only dynamic targeting keys exactly matching these names. + */ + names?: string[]; + /** + * Select only dynamic targeting keys with this object ID. + */ + objectId?: string; + /** + * Select only dynamic targeting keys with this object type. + */ + objectType?: string; + /** + * User profile ID associated with this request. + */ + profileId?: string; + } + + export class Resource$Eventtags { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Deletes an existing event tag. * @example * ```js * // Before running the sample: @@ -26106,60 +26268,13 @@ export namespace dfareporting_v5 { * google.options({auth: authClient}); * * // Do the magic - * const res = await dfareporting.eventTags.patch({ - * // Required. EventTag ID. - * id: 'placeholder-value', + * const res = await dfareporting.eventTags.delete({ + * // Event tag ID. + * id: '[^/]+', * // User profile ID associated with this request. * profileId: '[^/]+', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "accountId": "my_accountId", - * // "advertiserId": "my_advertiserId", - * // "advertiserIdDimensionValue": {}, - * // "campaignId": "my_campaignId", - * // "campaignIdDimensionValue": {}, - * // "enabledByDefault": false, - * // "excludeFromAdxRequests": false, - * // "id": "my_id", - * // "kind": "my_kind", - * // "name": "my_name", - * // "siteFilterType": "my_siteFilterType", - * // "siteIds": [], - * // "sslCompliant": false, - * // "status": "my_status", - * // "subaccountId": "my_subaccountId", - * // "type": "my_type", - * // "url": "my_url", - * // "urlEscapeLevels": 0 - * // } - * }, * }); * console.log(res.data); - * - * // Example response - * // { - * // "accountId": "my_accountId", - * // "advertiserId": "my_advertiserId", - * // "advertiserIdDimensionValue": {}, - * // "campaignId": "my_campaignId", - * // "campaignIdDimensionValue": {}, - * // "enabledByDefault": false, - * // "excludeFromAdxRequests": false, - * // "id": "my_id", - * // "kind": "my_kind", - * // "name": "my_name", - * // "siteFilterType": "my_siteFilterType", - * // "siteIds": [], - * // "sslCompliant": false, - * // "status": "my_status", - * // "subaccountId": "my_subaccountId", - * // "type": "my_type", - * // "url": "my_url", - * // "urlEscapeLevels": 0 - * // } * } * * main().catch(e => { @@ -26174,52 +26289,50 @@ export namespace dfareporting_v5 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - patch( - params: Params$Resource$Eventtags$Patch, + delete( + params: Params$Resource$Eventtags$Delete, options: StreamMethodOptions ): Promise>; - patch( - params?: Params$Resource$Eventtags$Patch, + delete( + params?: Params$Resource$Eventtags$Delete, options?: MethodOptions - ): Promise>; - patch( - params: Params$Resource$Eventtags$Patch, + ): Promise>; + delete( + params: Params$Resource$Eventtags$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Eventtags$Patch, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + delete( + params: Params$Resource$Eventtags$Delete, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Eventtags$Patch, - callback: BodyResponseCallback + delete( + params: Params$Resource$Eventtags$Delete, + callback: BodyResponseCallback ): void; - patch(callback: BodyResponseCallback): void; - patch( + delete(callback: BodyResponseCallback): void; + delete( paramsOrCallback?: - | Params$Resource$Eventtags$Patch - | BodyResponseCallback + | Params$Resource$Eventtags$Delete + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback + callback?: BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { - let params = (paramsOrCallback || {}) as Params$Resource$Eventtags$Patch; + let params = (paramsOrCallback || {}) as Params$Resource$Eventtags$Delete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Eventtags$Patch; + params = {} as Params$Resource$Eventtags$Delete; options = {}; } @@ -26233,30 +26346,31 @@ export namespace dfareporting_v5 { options: Object.assign( { url: ( - rootUrl + '/dfareporting/v5/userprofiles/{+profileId}/eventTags' + rootUrl + + '/dfareporting/v5/userprofiles/{+profileId}/eventTags/{+id}' ).replace(/([^:]\/)\/+/g, '$1'), - method: 'PATCH', + method: 'DELETE', apiVersion: '', }, options ), params, requiredParams: ['profileId', 'id'], - pathParams: ['profileId'], + pathParams: ['id', 'profileId'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Updates an existing event tag. + * Gets one event tag by ID. * @example * ```js * // Before running the sample: @@ -26285,32 +26399,701 @@ export namespace dfareporting_v5 { * google.options({auth: authClient}); * * // Do the magic - * const res = await dfareporting.eventTags.update({ + * const res = await dfareporting.eventTags.get({ + * // Event tag ID. + * id: '[^/]+', * // User profile ID associated with this request. * profileId: '[^/]+', + * }); + * console.log(res.data); * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "accountId": "my_accountId", - * // "advertiserId": "my_advertiserId", - * // "advertiserIdDimensionValue": {}, - * // "campaignId": "my_campaignId", - * // "campaignIdDimensionValue": {}, - * // "enabledByDefault": false, - * // "excludeFromAdxRequests": false, - * // "id": "my_id", - * // "kind": "my_kind", - * // "name": "my_name", - * // "siteFilterType": "my_siteFilterType", - * // "siteIds": [], - * // "sslCompliant": false, - * // "status": "my_status", - * // "subaccountId": "my_subaccountId", - * // "type": "my_type", - * // "url": "my_url", - * // "urlEscapeLevels": 0 + * // Example response + * // { + * // "accountId": "my_accountId", + * // "advertiserId": "my_advertiserId", + * // "advertiserIdDimensionValue": {}, + * // "campaignId": "my_campaignId", + * // "campaignIdDimensionValue": {}, + * // "enabledByDefault": false, + * // "excludeFromAdxRequests": false, + * // "id": "my_id", + * // "kind": "my_kind", + * // "name": "my_name", + * // "siteFilterType": "my_siteFilterType", + * // "siteIds": [], + * // "sslCompliant": false, + * // "status": "my_status", + * // "subaccountId": "my_subaccountId", + * // "type": "my_type", + * // "url": "my_url", + * // "urlEscapeLevels": 0 + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + get( + params: Params$Resource$Eventtags$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Eventtags$Get, + options?: MethodOptions + ): Promise>; + get( + params: Params$Resource$Eventtags$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Eventtags$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Eventtags$Get, + callback: BodyResponseCallback + ): void; + get(callback: BodyResponseCallback): void; + get( + paramsOrCallback?: + | Params$Resource$Eventtags$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || {}) as Params$Resource$Eventtags$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Eventtags$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://dfareporting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + + '/dfareporting/v5/userprofiles/{+profileId}/eventTags/{+id}' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Inserts a new event tag. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/dfareporting.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const dfareporting = google.dfareporting('v5'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/dfatrafficking'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await dfareporting.eventTags.insert({ + * // User profile ID associated with this request. + * profileId: '[^/]+', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "accountId": "my_accountId", + * // "advertiserId": "my_advertiserId", + * // "advertiserIdDimensionValue": {}, + * // "campaignId": "my_campaignId", + * // "campaignIdDimensionValue": {}, + * // "enabledByDefault": false, + * // "excludeFromAdxRequests": false, + * // "id": "my_id", + * // "kind": "my_kind", + * // "name": "my_name", + * // "siteFilterType": "my_siteFilterType", + * // "siteIds": [], + * // "sslCompliant": false, + * // "status": "my_status", + * // "subaccountId": "my_subaccountId", + * // "type": "my_type", + * // "url": "my_url", + * // "urlEscapeLevels": 0 + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "accountId": "my_accountId", + * // "advertiserId": "my_advertiserId", + * // "advertiserIdDimensionValue": {}, + * // "campaignId": "my_campaignId", + * // "campaignIdDimensionValue": {}, + * // "enabledByDefault": false, + * // "excludeFromAdxRequests": false, + * // "id": "my_id", + * // "kind": "my_kind", + * // "name": "my_name", + * // "siteFilterType": "my_siteFilterType", + * // "siteIds": [], + * // "sslCompliant": false, + * // "status": "my_status", + * // "subaccountId": "my_subaccountId", + * // "type": "my_type", + * // "url": "my_url", + * // "urlEscapeLevels": 0 + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + insert( + params: Params$Resource$Eventtags$Insert, + options: StreamMethodOptions + ): Promise>; + insert( + params?: Params$Resource$Eventtags$Insert, + options?: MethodOptions + ): Promise>; + insert( + params: Params$Resource$Eventtags$Insert, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + insert( + params: Params$Resource$Eventtags$Insert, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + insert( + params: Params$Resource$Eventtags$Insert, + callback: BodyResponseCallback + ): void; + insert(callback: BodyResponseCallback): void; + insert( + paramsOrCallback?: + | Params$Resource$Eventtags$Insert + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || {}) as Params$Resource$Eventtags$Insert; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Eventtags$Insert; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://dfareporting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + '/dfareporting/v5/userprofiles/{+profileId}/eventTags' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Retrieves a list of event tags, possibly filtered. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/dfareporting.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const dfareporting = google.dfareporting('v5'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/dfatrafficking'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await dfareporting.eventTags.list({ + * // Select only event tags that belong to this ad. + * adId: 'placeholder-value', + * // Select only event tags that belong to this advertiser. + * advertiserId: 'placeholder-value', + * // Select only event tags that belong to this campaign. + * campaignId: 'placeholder-value', + * // Examine only the specified campaign or advertiser's event tags for matching selector criteria. When set to false, the parent advertiser and parent campaign of the specified ad or campaign is examined as well. In addition, when set to false, the status field is examined as well, along with the enabledByDefault field. This parameter can not be set to true when adId is specified as ads do not define their own even tags. + * definitionsOnly: 'placeholder-value', + * // Select only enabled event tags. What is considered enabled or disabled depends on the definitionsOnly parameter. When definitionsOnly is set to true, only the specified advertiser or campaign's event tags' enabledByDefault field is examined. When definitionsOnly is set to false, the specified ad or specified campaign's parent advertiser's or parent campaign's event tags' enabledByDefault and status fields are examined as well. + * enabled: 'placeholder-value', + * // Select only event tags with the specified event tag types. Event tag types can be used to specify whether to use a third-party pixel, a third-party JavaScript URL, or a third-party click-through URL for either impression or click tracking. + * eventTagTypes: 'placeholder-value', + * // Select only event tags with these IDs. + * ids: 'placeholder-value', + * // User profile ID associated with this request. + * profileId: '[^/]+', + * // Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "eventtag*2015" will return objects with names like "eventtag June 2015", "eventtag April 2015", or simply "eventtag 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "eventtag" will match objects with name "my eventtag", "eventtag 2015", or simply "eventtag". + * searchString: 'placeholder-value', + * // Field by which to sort the list. + * sortField: 'placeholder-value', + * // Order of sorted results. + * sortOrder: 'placeholder-value', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "eventTags": [], + * // "kind": "my_kind" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + list( + params: Params$Resource$Eventtags$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Eventtags$List, + options?: MethodOptions + ): Promise>; + list( + params: Params$Resource$Eventtags$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Eventtags$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Eventtags$List, + callback: BodyResponseCallback + ): void; + list(callback: BodyResponseCallback): void; + list( + paramsOrCallback?: + | Params$Resource$Eventtags$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || {}) as Params$Resource$Eventtags$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Eventtags$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://dfareporting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + '/dfareporting/v5/userprofiles/{+profileId}/eventTags' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Updates an existing event tag. This method supports patch semantics. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/dfareporting.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const dfareporting = google.dfareporting('v5'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/dfatrafficking'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await dfareporting.eventTags.patch({ + * // Required. EventTag ID. + * id: 'placeholder-value', + * // User profile ID associated with this request. + * profileId: '[^/]+', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "accountId": "my_accountId", + * // "advertiserId": "my_advertiserId", + * // "advertiserIdDimensionValue": {}, + * // "campaignId": "my_campaignId", + * // "campaignIdDimensionValue": {}, + * // "enabledByDefault": false, + * // "excludeFromAdxRequests": false, + * // "id": "my_id", + * // "kind": "my_kind", + * // "name": "my_name", + * // "siteFilterType": "my_siteFilterType", + * // "siteIds": [], + * // "sslCompliant": false, + * // "status": "my_status", + * // "subaccountId": "my_subaccountId", + * // "type": "my_type", + * // "url": "my_url", + * // "urlEscapeLevels": 0 + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "accountId": "my_accountId", + * // "advertiserId": "my_advertiserId", + * // "advertiserIdDimensionValue": {}, + * // "campaignId": "my_campaignId", + * // "campaignIdDimensionValue": {}, + * // "enabledByDefault": false, + * // "excludeFromAdxRequests": false, + * // "id": "my_id", + * // "kind": "my_kind", + * // "name": "my_name", + * // "siteFilterType": "my_siteFilterType", + * // "siteIds": [], + * // "sslCompliant": false, + * // "status": "my_status", + * // "subaccountId": "my_subaccountId", + * // "type": "my_type", + * // "url": "my_url", + * // "urlEscapeLevels": 0 + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + patch( + params: Params$Resource$Eventtags$Patch, + options: StreamMethodOptions + ): Promise>; + patch( + params?: Params$Resource$Eventtags$Patch, + options?: MethodOptions + ): Promise>; + patch( + params: Params$Resource$Eventtags$Patch, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Eventtags$Patch, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + patch( + params: Params$Resource$Eventtags$Patch, + callback: BodyResponseCallback + ): void; + patch(callback: BodyResponseCallback): void; + patch( + paramsOrCallback?: + | Params$Resource$Eventtags$Patch + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || {}) as Params$Resource$Eventtags$Patch; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Eventtags$Patch; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://dfareporting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + '/dfareporting/v5/userprofiles/{+profileId}/eventTags' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Updates an existing event tag. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/dfareporting.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const dfareporting = google.dfareporting('v5'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/dfatrafficking'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await dfareporting.eventTags.update({ + * // User profile ID associated with this request. + * profileId: '[^/]+', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "accountId": "my_accountId", + * // "advertiserId": "my_advertiserId", + * // "advertiserIdDimensionValue": {}, + * // "campaignId": "my_campaignId", + * // "campaignIdDimensionValue": {}, + * // "enabledByDefault": false, + * // "excludeFromAdxRequests": false, + * // "id": "my_id", + * // "kind": "my_kind", + * // "name": "my_name", + * // "siteFilterType": "my_siteFilterType", + * // "siteIds": [], + * // "sslCompliant": false, + * // "status": "my_status", + * // "subaccountId": "my_subaccountId", + * // "type": "my_type", + * // "url": "my_url", + * // "urlEscapeLevels": 0 * // } * }, * }); @@ -38729,7 +39512,493 @@ export namespace dfareporting_v5 { } /** - * Gets one site by ID. + * Gets one site by ID. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/dfareporting.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const dfareporting = google.dfareporting('v5'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/dfatrafficking'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await dfareporting.sites.get({ + * // Site ID. + * id: '[^/]+', + * // User profile ID associated with this request. + * profileId: '[^/]+', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "accountId": "my_accountId", + * // "adServingPlatformId": "my_adServingPlatformId", + * // "approved": false, + * // "directorySiteId": "my_directorySiteId", + * // "directorySiteIdDimensionValue": {}, + * // "id": "my_id", + * // "idDimensionValue": {}, + * // "keyName": "my_keyName", + * // "kind": "my_kind", + * // "name": "my_name", + * // "siteContacts": [], + * // "siteSettings": {}, + * // "subaccountId": "my_subaccountId", + * // "videoSettings": {} + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + get( + params: Params$Resource$Sites$Get, + options: StreamMethodOptions + ): Promise>; + get( + params?: Params$Resource$Sites$Get, + options?: MethodOptions + ): Promise>; + get( + params: Params$Resource$Sites$Get, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Sites$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + get( + params: Params$Resource$Sites$Get, + callback: BodyResponseCallback + ): void; + get(callback: BodyResponseCallback): void; + get( + paramsOrCallback?: + | Params$Resource$Sites$Get + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || {}) as Params$Resource$Sites$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Sites$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://dfareporting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + '/dfareporting/v5/userprofiles/{+profileId}/sites/{+id}' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Inserts a new site. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/dfareporting.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const dfareporting = google.dfareporting('v5'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/dfatrafficking'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await dfareporting.sites.insert({ + * // User profile ID associated with this request. + * profileId: '[^/]+', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "accountId": "my_accountId", + * // "adServingPlatformId": "my_adServingPlatformId", + * // "approved": false, + * // "directorySiteId": "my_directorySiteId", + * // "directorySiteIdDimensionValue": {}, + * // "id": "my_id", + * // "idDimensionValue": {}, + * // "keyName": "my_keyName", + * // "kind": "my_kind", + * // "name": "my_name", + * // "siteContacts": [], + * // "siteSettings": {}, + * // "subaccountId": "my_subaccountId", + * // "videoSettings": {} + * // } + * }, + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "accountId": "my_accountId", + * // "adServingPlatformId": "my_adServingPlatformId", + * // "approved": false, + * // "directorySiteId": "my_directorySiteId", + * // "directorySiteIdDimensionValue": {}, + * // "id": "my_id", + * // "idDimensionValue": {}, + * // "keyName": "my_keyName", + * // "kind": "my_kind", + * // "name": "my_name", + * // "siteContacts": [], + * // "siteSettings": {}, + * // "subaccountId": "my_subaccountId", + * // "videoSettings": {} + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + insert( + params: Params$Resource$Sites$Insert, + options: StreamMethodOptions + ): Promise>; + insert( + params?: Params$Resource$Sites$Insert, + options?: MethodOptions + ): Promise>; + insert( + params: Params$Resource$Sites$Insert, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + insert( + params: Params$Resource$Sites$Insert, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + insert( + params: Params$Resource$Sites$Insert, + callback: BodyResponseCallback + ): void; + insert(callback: BodyResponseCallback): void; + insert( + paramsOrCallback?: + | Params$Resource$Sites$Insert + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || {}) as Params$Resource$Sites$Insert; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Sites$Insert; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://dfareporting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + '/dfareporting/v5/userprofiles/{+profileId}/sites' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Retrieves a list of sites, possibly filtered. This method supports paging. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/dfareporting.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const dfareporting = google.dfareporting('v5'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/dfatrafficking'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await dfareporting.sites.list({ + * // This search filter is no longer supported and will have no effect on the results returned. + * acceptsInStreamVideoPlacements: 'placeholder-value', + * // This search filter is no longer supported and will have no effect on the results returned. + * acceptsInterstitialPlacements: 'placeholder-value', + * // Select only sites that accept publisher paid placements. + * acceptsPublisherPaidPlacements: 'placeholder-value', + * // Select only AdWords sites. + * adWordsSite: 'placeholder-value', + * // Select only approved sites. + * approved: 'placeholder-value', + * // Select only sites with these campaign IDs. + * campaignIds: 'placeholder-value', + * // Select only sites with these directory site IDs. + * directorySiteIds: 'placeholder-value', + * // Select only sites with these IDs. + * ids: 'placeholder-value', + * // Maximum number of results to return. + * maxResults: 'placeholder-value', + * // Value of the nextPageToken from the previous result page. + * pageToken: 'placeholder-value', + * // User profile ID associated with this request. + * profileId: '[^/]+', + * // Allows searching for objects by name, ID or keyName. Wildcards (*) are allowed. For example, "site*2015" will return objects with names like "site June 2015", "site April 2015", or simply "site 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "site" will match objects with name "my site", "site 2015", or simply "site". + * searchString: 'placeholder-value', + * // Field by which to sort the list. + * sortField: 'placeholder-value', + * // Order of sorted results. + * sortOrder: 'placeholder-value', + * // Select only sites with this subaccount ID. + * subaccountId: 'placeholder-value', + * // Select only sites that have not been mapped to a directory site. + * unmappedSite: 'placeholder-value', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "kind": "my_kind", + * // "nextPageToken": "my_nextPageToken", + * // "sites": [] + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + list( + params: Params$Resource$Sites$List, + options: StreamMethodOptions + ): Promise>; + list( + params?: Params$Resource$Sites$List, + options?: MethodOptions + ): Promise>; + list( + params: Params$Resource$Sites$List, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Sites$List, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + list( + params: Params$Resource$Sites$List, + callback: BodyResponseCallback + ): void; + list(callback: BodyResponseCallback): void; + list( + paramsOrCallback?: + | Params$Resource$Sites$List + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || {}) as Params$Resource$Sites$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Sites$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://dfareporting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + '/dfareporting/v5/userprofiles/{+profileId}/sites' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Updates an existing site. This method supports patch semantics. * @example * ```js * // Before running the sample: @@ -38758,11 +40027,32 @@ export namespace dfareporting_v5 { * google.options({auth: authClient}); * * // Do the magic - * const res = await dfareporting.sites.get({ - * // Site ID. - * id: '[^/]+', + * const res = await dfareporting.sites.patch({ + * // Required. Site ID. + * id: 'placeholder-value', * // User profile ID associated with this request. * profileId: '[^/]+', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "accountId": "my_accountId", + * // "adServingPlatformId": "my_adServingPlatformId", + * // "approved": false, + * // "directorySiteId": "my_directorySiteId", + * // "directorySiteIdDimensionValue": {}, + * // "id": "my_id", + * // "idDimensionValue": {}, + * // "keyName": "my_keyName", + * // "kind": "my_kind", + * // "name": "my_name", + * // "siteContacts": [], + * // "siteSettings": {}, + * // "subaccountId": "my_subaccountId", + * // "videoSettings": {} + * // } + * }, * }); * console.log(res.data); * @@ -38797,32 +40087,32 @@ export namespace dfareporting_v5 { * @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$Sites$Get, + patch( + params: Params$Resource$Sites$Patch, options: StreamMethodOptions ): Promise>; - get( - params?: Params$Resource$Sites$Get, + patch( + params?: Params$Resource$Sites$Patch, options?: MethodOptions ): Promise>; - get( - params: Params$Resource$Sites$Get, + patch( + params: Params$Resource$Sites$Patch, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Sites$Get, + patch( + params: Params$Resource$Sites$Patch, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Sites$Get, + patch( + params: Params$Resource$Sites$Patch, callback: BodyResponseCallback ): void; - get(callback: BodyResponseCallback): void; - get( + patch(callback: BodyResponseCallback): void; + patch( paramsOrCallback?: - | Params$Resource$Sites$Get + | Params$Resource$Sites$Patch | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -38837,12 +40127,12 @@ export namespace dfareporting_v5 { | void | Promise> | Promise> { - let params = (paramsOrCallback || {}) as Params$Resource$Sites$Get; + let params = (paramsOrCallback || {}) as Params$Resource$Sites$Patch; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Sites$Get; + params = {} as Params$Resource$Sites$Patch; options = {}; } @@ -38856,16 +40146,16 @@ export namespace dfareporting_v5 { options: Object.assign( { url: ( - rootUrl + '/dfareporting/v5/userprofiles/{+profileId}/sites/{+id}' + rootUrl + '/dfareporting/v5/userprofiles/{+profileId}/sites' ).replace(/([^:]\/)\/+/g, '$1'), - method: 'GET', + method: 'PATCH', apiVersion: '', }, options ), params, requiredParams: ['profileId', 'id'], - pathParams: ['id', 'profileId'], + pathParams: ['profileId'], context: this.context, }; if (callback) { @@ -38879,7 +40169,7 @@ export namespace dfareporting_v5 { } /** - * Inserts a new site. + * Updates an existing site. * @example * ```js * // Before running the sample: @@ -38908,7 +40198,7 @@ export namespace dfareporting_v5 { * google.options({auth: authClient}); * * // Do the magic - * const res = await dfareporting.sites.insert({ + * const res = await dfareporting.sites.update({ * // User profile ID associated with this request. * profileId: '[^/]+', * @@ -38966,32 +40256,32 @@ export namespace dfareporting_v5 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - insert( - params: Params$Resource$Sites$Insert, + update( + params: Params$Resource$Sites$Update, options: StreamMethodOptions ): Promise>; - insert( - params?: Params$Resource$Sites$Insert, + update( + params?: Params$Resource$Sites$Update, options?: MethodOptions ): Promise>; - insert( - params: Params$Resource$Sites$Insert, + update( + params: Params$Resource$Sites$Update, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - insert( - params: Params$Resource$Sites$Insert, + update( + params: Params$Resource$Sites$Update, options: MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - insert( - params: Params$Resource$Sites$Insert, + update( + params: Params$Resource$Sites$Update, callback: BodyResponseCallback ): void; - insert(callback: BodyResponseCallback): void; - insert( + update(callback: BodyResponseCallback): void; + update( paramsOrCallback?: - | Params$Resource$Sites$Insert + | Params$Resource$Sites$Update | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -39006,12 +40296,12 @@ export namespace dfareporting_v5 { | void | Promise> | Promise> { - let params = (paramsOrCallback || {}) as Params$Resource$Sites$Insert; + let params = (paramsOrCallback || {}) as Params$Resource$Sites$Update; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Sites$Insert; + params = {} as Params$Resource$Sites$Update; options = {}; } @@ -39027,7 +40317,7 @@ export namespace dfareporting_v5 { url: ( rootUrl + '/dfareporting/v5/userprofiles/{+profileId}/sites' ).replace(/([^:]\/)\/+/g, '$1'), - method: 'POST', + method: 'PUT', apiVersion: '', }, options @@ -39046,9 +40336,130 @@ export namespace dfareporting_v5 { return createAPIRequest(parameters); } } + } + export interface Params$Resource$Sites$Get extends StandardParameters { /** - * Retrieves a list of sites, possibly filtered. This method supports paging. + * Site ID. + */ + id?: string; + /** + * User profile ID associated with this request. + */ + profileId?: string; + } + export interface Params$Resource$Sites$Insert extends StandardParameters { + /** + * User profile ID associated with this request. + */ + profileId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$Site; + } + export interface Params$Resource$Sites$List extends StandardParameters { + /** + * This search filter is no longer supported and will have no effect on the results returned. + */ + acceptsInStreamVideoPlacements?: boolean; + /** + * This search filter is no longer supported and will have no effect on the results returned. + */ + acceptsInterstitialPlacements?: boolean; + /** + * Select only sites that accept publisher paid placements. + */ + acceptsPublisherPaidPlacements?: boolean; + /** + * Select only AdWords sites. + */ + adWordsSite?: boolean; + /** + * Select only approved sites. + */ + approved?: boolean; + /** + * Select only sites with these campaign IDs. + */ + campaignIds?: string[]; + /** + * Select only sites with these directory site IDs. + */ + directorySiteIds?: string[]; + /** + * Select only sites with these IDs. + */ + ids?: string[]; + /** + * Maximum number of results to return. + */ + maxResults?: number; + /** + * Value of the nextPageToken from the previous result page. + */ + pageToken?: string; + /** + * User profile ID associated with this request. + */ + profileId?: string; + /** + * Allows searching for objects by name, ID or keyName. Wildcards (*) are allowed. For example, "site*2015" will return objects with names like "site June 2015", "site April 2015", or simply "site 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "site" will match objects with name "my site", "site 2015", or simply "site". + */ + searchString?: string; + /** + * Field by which to sort the list. + */ + sortField?: string; + /** + * Order of sorted results. + */ + sortOrder?: string; + /** + * Select only sites with this subaccount ID. + */ + subaccountId?: string; + /** + * Select only sites that have not been mapped to a directory site. + */ + unmappedSite?: boolean; + } + export interface Params$Resource$Sites$Patch extends StandardParameters { + /** + * Required. Site ID. + */ + id?: string; + /** + * User profile ID associated with this request. + */ + profileId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$Site; + } + export interface Params$Resource$Sites$Update extends StandardParameters { + /** + * User profile ID associated with this request. + */ + profileId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$Site; + } + + export class Resource$Sizes { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Gets one size by ID. * @example * ```js * // Before running the sample: @@ -39077,47 +40488,21 @@ export namespace dfareporting_v5 { * google.options({auth: authClient}); * * // Do the magic - * const res = await dfareporting.sites.list({ - * // This search filter is no longer supported and will have no effect on the results returned. - * acceptsInStreamVideoPlacements: 'placeholder-value', - * // This search filter is no longer supported and will have no effect on the results returned. - * acceptsInterstitialPlacements: 'placeholder-value', - * // Select only sites that accept publisher paid placements. - * acceptsPublisherPaidPlacements: 'placeholder-value', - * // Select only AdWords sites. - * adWordsSite: 'placeholder-value', - * // Select only approved sites. - * approved: 'placeholder-value', - * // Select only sites with these campaign IDs. - * campaignIds: 'placeholder-value', - * // Select only sites with these directory site IDs. - * directorySiteIds: 'placeholder-value', - * // Select only sites with these IDs. - * ids: 'placeholder-value', - * // Maximum number of results to return. - * maxResults: 'placeholder-value', - * // Value of the nextPageToken from the previous result page. - * pageToken: 'placeholder-value', + * const res = await dfareporting.sizes.get({ + * // Size ID. + * id: '[^/]+', * // User profile ID associated with this request. * profileId: '[^/]+', - * // Allows searching for objects by name, ID or keyName. Wildcards (*) are allowed. For example, "site*2015" will return objects with names like "site June 2015", "site April 2015", or simply "site 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "site" will match objects with name "my site", "site 2015", or simply "site". - * searchString: 'placeholder-value', - * // Field by which to sort the list. - * sortField: 'placeholder-value', - * // Order of sorted results. - * sortOrder: 'placeholder-value', - * // Select only sites with this subaccount ID. - * subaccountId: 'placeholder-value', - * // Select only sites that have not been mapped to a directory site. - * unmappedSite: 'placeholder-value', * }); * console.log(res.data); * * // Example response * // { + * // "height": 0, + * // "iab": false, + * // "id": "my_id", * // "kind": "my_kind", - * // "nextPageToken": "my_nextPageToken", - * // "sites": [] + * // "width": 0 * // } * } * @@ -39133,52 +40518,52 @@ export namespace dfareporting_v5 { * @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$Sites$List, + get( + params: Params$Resource$Sizes$Get, options: StreamMethodOptions ): Promise>; - list( - params?: Params$Resource$Sites$List, + get( + params?: Params$Resource$Sizes$Get, options?: MethodOptions - ): Promise>; - list( - params: Params$Resource$Sites$List, + ): Promise>; + get( + params: Params$Resource$Sizes$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Sites$List, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + get( + params: Params$Resource$Sizes$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Sites$List, - callback: BodyResponseCallback + get( + params: Params$Resource$Sizes$Get, + callback: BodyResponseCallback ): void; - list(callback: BodyResponseCallback): void; - list( + get(callback: BodyResponseCallback): void; + get( paramsOrCallback?: - | Params$Resource$Sites$List - | BodyResponseCallback + | Params$Resource$Sizes$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { - let params = (paramsOrCallback || {}) as Params$Resource$Sites$List; + let params = (paramsOrCallback || {}) as Params$Resource$Sizes$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Sites$List; + params = {} as Params$Resource$Sizes$Get; options = {}; } @@ -39192,7 +40577,7 @@ export namespace dfareporting_v5 { options: Object.assign( { url: ( - rootUrl + '/dfareporting/v5/userprofiles/{+profileId}/sites' + rootUrl + '/dfareporting/v5/userprofiles/{+profileId}/sizes/{+id}' ).replace(/([^:]\/)\/+/g, '$1'), method: 'GET', apiVersion: '', @@ -39200,22 +40585,22 @@ export namespace dfareporting_v5 { options ), params, - requiredParams: ['profileId'], - pathParams: ['profileId'], + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Updates an existing site. This method supports patch semantics. + * Inserts a new size. * @example * ```js * // Before running the sample: @@ -39244,9 +40629,7 @@ export namespace dfareporting_v5 { * google.options({auth: authClient}); * * // Do the magic - * const res = await dfareporting.sites.patch({ - * // Required. Site ID. - * id: 'placeholder-value', + * const res = await dfareporting.sizes.insert({ * // User profile ID associated with this request. * profileId: '[^/]+', * @@ -39254,20 +40637,11 @@ export namespace dfareporting_v5 { * requestBody: { * // request body parameters * // { - * // "accountId": "my_accountId", - * // "adServingPlatformId": "my_adServingPlatformId", - * // "approved": false, - * // "directorySiteId": "my_directorySiteId", - * // "directorySiteIdDimensionValue": {}, + * // "height": 0, + * // "iab": false, * // "id": "my_id", - * // "idDimensionValue": {}, - * // "keyName": "my_keyName", * // "kind": "my_kind", - * // "name": "my_name", - * // "siteContacts": [], - * // "siteSettings": {}, - * // "subaccountId": "my_subaccountId", - * // "videoSettings": {} + * // "width": 0 * // } * }, * }); @@ -39275,20 +40649,155 @@ export namespace dfareporting_v5 { * * // Example response * // { - * // "accountId": "my_accountId", - * // "adServingPlatformId": "my_adServingPlatformId", - * // "approved": false, - * // "directorySiteId": "my_directorySiteId", - * // "directorySiteIdDimensionValue": {}, + * // "height": 0, + * // "iab": false, * // "id": "my_id", - * // "idDimensionValue": {}, - * // "keyName": "my_keyName", * // "kind": "my_kind", - * // "name": "my_name", - * // "siteContacts": [], - * // "siteSettings": {}, - * // "subaccountId": "my_subaccountId", - * // "videoSettings": {} + * // "width": 0 + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + insert( + params: Params$Resource$Sizes$Insert, + options: StreamMethodOptions + ): Promise>; + insert( + params?: Params$Resource$Sizes$Insert, + options?: MethodOptions + ): Promise>; + insert( + params: Params$Resource$Sizes$Insert, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + insert( + params: Params$Resource$Sizes$Insert, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + insert( + params: Params$Resource$Sizes$Insert, + callback: BodyResponseCallback + ): void; + insert(callback: BodyResponseCallback): void; + insert( + paramsOrCallback?: + | Params$Resource$Sizes$Insert + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise> + | Promise> { + let params = (paramsOrCallback || {}) as Params$Resource$Sizes$Insert; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Sizes$Insert; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://dfareporting.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: ( + rootUrl + '/dfareporting/v5/userprofiles/{+profileId}/sizes' + ).replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } + } + + /** + * Retrieves a list of sizes, possibly filtered. Retrieved sizes are globally unique and may include values not currently in use by your account. Due to this, the list of sizes returned by this method may differ from the list seen in the Trafficking UI. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/dfareporting.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const dfareporting = google.dfareporting('v5'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/dfatrafficking'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await dfareporting.sizes.list({ + * // Select only sizes with this height. + * height: 'placeholder-value', + * // Select only IAB standard sizes. + * iabStandard: 'placeholder-value', + * // Select only sizes with these IDs. + * ids: 'placeholder-value', + * // User profile ID associated with this request. + * profileId: '[^/]+', + * // Select only sizes with this width. + * width: 'placeholder-value', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "kind": "my_kind", + * // "sizes": [] * // } * } * @@ -39304,52 +40813,52 @@ export namespace dfareporting_v5 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - patch( - params: Params$Resource$Sites$Patch, + list( + params: Params$Resource$Sizes$List, options: StreamMethodOptions ): Promise>; - patch( - params?: Params$Resource$Sites$Patch, + list( + params?: Params$Resource$Sizes$List, options?: MethodOptions - ): Promise>; - patch( - params: Params$Resource$Sites$Patch, + ): Promise>; + list( + params: Params$Resource$Sizes$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Sites$Patch, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + list( + params: Params$Resource$Sizes$List, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Sites$Patch, - callback: BodyResponseCallback + list( + params: Params$Resource$Sizes$List, + callback: BodyResponseCallback ): void; - patch(callback: BodyResponseCallback): void; - patch( + list(callback: BodyResponseCallback): void; + list( paramsOrCallback?: - | Params$Resource$Sites$Patch - | BodyResponseCallback + | Params$Resource$Sizes$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { - let params = (paramsOrCallback || {}) as Params$Resource$Sites$Patch; + let params = (paramsOrCallback || {}) as Params$Resource$Sizes$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Sites$Patch; + params = {} as Params$Resource$Sizes$List; options = {}; } @@ -39363,30 +40872,81 @@ export namespace dfareporting_v5 { options: Object.assign( { url: ( - rootUrl + '/dfareporting/v5/userprofiles/{+profileId}/sites' + rootUrl + '/dfareporting/v5/userprofiles/{+profileId}/sizes' ).replace(/([^:]\/)\/+/g, '$1'), - method: 'PATCH', + method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['profileId', 'id'], + requiredParams: ['profileId'], pathParams: ['profileId'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } + } + export interface Params$Resource$Sizes$Get extends StandardParameters { /** - * Updates an existing site. + * Size ID. + */ + id?: string; + /** + * User profile ID associated with this request. + */ + profileId?: string; + } + export interface Params$Resource$Sizes$Insert extends StandardParameters { + /** + * User profile ID associated with this request. + */ + profileId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$Size; + } + export interface Params$Resource$Sizes$List extends StandardParameters { + /** + * Select only sizes with this height. + */ + height?: number; + /** + * Select only IAB standard sizes. + */ + iabStandard?: boolean; + /** + * Select only sizes with these IDs. + */ + ids?: string[]; + /** + * User profile ID associated with this request. + */ + profileId?: string; + /** + * Select only sizes with this width. + */ + width?: number; + } + + export class Resource$Studiocreativeassets { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Inserts a new studio creative asset. * @example * ```js * // Before running the sample: @@ -39415,49 +40975,26 @@ export namespace dfareporting_v5 { * google.options({auth: authClient}); * * // Do the magic - * const res = await dfareporting.sites.update({ - * // User profile ID associated with this request. - * profileId: '[^/]+', - * + * const res = await dfareporting.studioCreativeAssets.insert({ * // Request body metadata * requestBody: { * // request body parameters * // { - * // "accountId": "my_accountId", - * // "adServingPlatformId": "my_adServingPlatformId", - * // "approved": false, - * // "directorySiteId": "my_directorySiteId", - * // "directorySiteIdDimensionValue": {}, - * // "id": "my_id", - * // "idDimensionValue": {}, - * // "keyName": "my_keyName", - * // "kind": "my_kind", - * // "name": "my_name", - * // "siteContacts": [], - * // "siteSettings": {}, - * // "subaccountId": "my_subaccountId", - * // "videoSettings": {} + * // "studioAccountId": "my_studioAccountId", + * // "studioAdvertiserId": "my_studioAdvertiserId", + * // "studioCreativeId": "my_studioCreativeId" * // } * }, + * media: { + * mimeType: 'placeholder-value', + * body: 'placeholder-value', + * }, * }); * console.log(res.data); * * // Example response * // { - * // "accountId": "my_accountId", - * // "adServingPlatformId": "my_adServingPlatformId", - * // "approved": false, - * // "directorySiteId": "my_directorySiteId", - * // "directorySiteIdDimensionValue": {}, - * // "id": "my_id", - * // "idDimensionValue": {}, - * // "keyName": "my_keyName", - * // "kind": "my_kind", - * // "name": "my_name", - * // "siteContacts": [], - * // "siteSettings": {}, - * // "subaccountId": "my_subaccountId", - * // "videoSettings": {} + * // "assets": [] * // } * } * @@ -39473,52 +41010,57 @@ export namespace dfareporting_v5 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - update( - params: Params$Resource$Sites$Update, + insert( + params: Params$Resource$Studiocreativeassets$Insert, options: StreamMethodOptions ): Promise>; - update( - params?: Params$Resource$Sites$Update, + insert( + params?: Params$Resource$Studiocreativeassets$Insert, options?: MethodOptions - ): Promise>; - update( - params: Params$Resource$Sites$Update, + ): Promise>; + insert( + params: Params$Resource$Studiocreativeassets$Insert, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - update( - params: Params$Resource$Sites$Update, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + insert( + params: Params$Resource$Studiocreativeassets$Insert, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - update( - params: Params$Resource$Sites$Update, - callback: BodyResponseCallback + insert( + params: Params$Resource$Studiocreativeassets$Insert, + callback: BodyResponseCallback ): void; - update(callback: BodyResponseCallback): void; - update( + insert( + callback: BodyResponseCallback + ): void; + insert( paramsOrCallback?: - | Params$Resource$Sites$Update - | BodyResponseCallback + | Params$Resource$Studiocreativeassets$Insert + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { - let params = (paramsOrCallback || {}) as Params$Resource$Sites$Update; + let params = (paramsOrCallback || + {}) as Params$Resource$Studiocreativeassets$Insert; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Sites$Update; + params = {} as Params$Resource$Studiocreativeassets$Insert; options = {}; } @@ -39531,152 +41073,67 @@ export namespace dfareporting_v5 { const parameters = { options: Object.assign( { - url: ( - rootUrl + '/dfareporting/v5/userprofiles/{+profileId}/sites' - ).replace(/([^:]\/)\/+/g, '$1'), - method: 'PUT', + url: (rootUrl + '/dfareporting/v5/studio/creativeAssets').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', apiVersion: '', }, options ), params, - requiredParams: ['profileId'], - pathParams: ['profileId'], + mediaUrl: ( + rootUrl + '/upload/dfareporting/v5/studio/creativeAssets' + ).replace(/([^:]\/)\/+/g, '$1'), + requiredParams: [], + pathParams: [], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest( + parameters + ); } } } - export interface Params$Resource$Sites$Get extends StandardParameters { - /** - * Site ID. - */ - id?: string; - /** - * User profile ID associated with this request. - */ - profileId?: string; - } - export interface Params$Resource$Sites$Insert extends StandardParameters { - /** - * User profile ID associated with this request. - */ - profileId?: string; - + export interface Params$Resource$Studiocreativeassets$Insert + extends StandardParameters { /** * Request body metadata */ - requestBody?: Schema$Site; - } - export interface Params$Resource$Sites$List extends StandardParameters { - /** - * This search filter is no longer supported and will have no effect on the results returned. - */ - acceptsInStreamVideoPlacements?: boolean; - /** - * This search filter is no longer supported and will have no effect on the results returned. - */ - acceptsInterstitialPlacements?: boolean; - /** - * Select only sites that accept publisher paid placements. - */ - acceptsPublisherPaidPlacements?: boolean; - /** - * Select only AdWords sites. - */ - adWordsSite?: boolean; - /** - * Select only approved sites. - */ - approved?: boolean; - /** - * Select only sites with these campaign IDs. - */ - campaignIds?: string[]; - /** - * Select only sites with these directory site IDs. - */ - directorySiteIds?: string[]; - /** - * Select only sites with these IDs. - */ - ids?: string[]; - /** - * Maximum number of results to return. - */ - maxResults?: number; - /** - * Value of the nextPageToken from the previous result page. - */ - pageToken?: string; - /** - * User profile ID associated with this request. - */ - profileId?: string; - /** - * Allows searching for objects by name, ID or keyName. Wildcards (*) are allowed. For example, "site*2015" will return objects with names like "site June 2015", "site April 2015", or simply "site 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "site" will match objects with name "my site", "site 2015", or simply "site". - */ - searchString?: string; - /** - * Field by which to sort the list. - */ - sortField?: string; - /** - * Order of sorted results. - */ - sortOrder?: string; - /** - * Select only sites with this subaccount ID. - */ - subaccountId?: string; - /** - * Select only sites that have not been mapped to a directory site. - */ - unmappedSite?: boolean; - } - export interface Params$Resource$Sites$Patch extends StandardParameters { - /** - * Required. Site ID. - */ - id?: string; - /** - * User profile ID associated with this request. - */ - profileId?: string; + requestBody?: Schema$DfareportingStudioCreativeAssetsInsertRequest; /** - * Request body metadata - */ - requestBody?: Schema$Site; - } - export interface Params$Resource$Sites$Update extends StandardParameters { - /** - * User profile ID associated with this request. + * Media metadata */ - profileId?: string; + media?: { + /** + * Media mime-type + */ + mimeType?: string; - /** - * Request body metadata - */ - requestBody?: Schema$Site; + /** + * Media body contents + */ + body?: any; + }; } - export class Resource$Sizes { + export class Resource$Studiocreatives { context: APIRequestContext; constructor(context: APIRequestContext) { this.context = context; } /** - * Gets one size by ID. + * Gets a studio creative by ID. * @example * ```js * // Before running the sample: @@ -39705,21 +41162,27 @@ export namespace dfareporting_v5 { * google.options({auth: authClient}); * * // Do the magic - * const res = await dfareporting.sizes.get({ - * // Size ID. - * id: '[^/]+', - * // User profile ID associated with this request. - * profileId: '[^/]+', + * const res = await dfareporting.studioCreatives.get({ + * // Required. Studio creative ID. + * studioCreativeId: '[^/]+', * }); * console.log(res.data); * * // Example response * // { - * // "height": 0, - * // "iab": false, + * // "assetIds": [], + * // "backupImageAssetId": "my_backupImageAssetId", + * // "createdInfo": {}, + * // "dimension": {}, + * // "dynamicProfileId": "my_dynamicProfileId", + * // "format": "my_format", * // "id": "my_id", - * // "kind": "my_kind", - * // "width": 0 + * // "lastModifiedInfo": {}, + * // "name": "my_name", + * // "status": "my_status", + * // "studioAccountId": "my_studioAccountId", + * // "studioAdvertiserId": "my_studioAdvertiserId", + * // "studioCampaignId": "my_studioCampaignId" * // } * } * @@ -39736,51 +41199,52 @@ export namespace dfareporting_v5 { * @returns A promise if used with async/await, or void if used with a callback. */ get( - params: Params$Resource$Sizes$Get, + params: Params$Resource$Studiocreatives$Get, options: StreamMethodOptions ): Promise>; get( - params?: Params$Resource$Sizes$Get, + params?: Params$Resource$Studiocreatives$Get, options?: MethodOptions - ): Promise>; + ): Promise>; get( - params: Params$Resource$Sizes$Get, + params: Params$Resource$Studiocreatives$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; get( - params: Params$Resource$Sizes$Get, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + params: Params$Resource$Studiocreatives$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; get( - params: Params$Resource$Sizes$Get, - callback: BodyResponseCallback + params: Params$Resource$Studiocreatives$Get, + callback: BodyResponseCallback ): void; - get(callback: BodyResponseCallback): void; + get(callback: BodyResponseCallback): void; get( paramsOrCallback?: - | Params$Resource$Sizes$Get - | BodyResponseCallback + | Params$Resource$Studiocreatives$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { - let params = (paramsOrCallback || {}) as Params$Resource$Sizes$Get; + let params = (paramsOrCallback || + {}) as Params$Resource$Studiocreatives$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Sizes$Get; + params = {} as Params$Resource$Studiocreatives$Get; options = {}; } @@ -39794,7 +41258,7 @@ export namespace dfareporting_v5 { options: Object.assign( { url: ( - rootUrl + '/dfareporting/v5/userprofiles/{+profileId}/sizes/{+id}' + rootUrl + '/dfareporting/v5/studio/creatives/{+studioCreativeId}' ).replace(/([^:]\/)\/+/g, '$1'), method: 'GET', apiVersion: '', @@ -39802,22 +41266,22 @@ export namespace dfareporting_v5 { options ), params, - requiredParams: ['profileId', 'id'], - pathParams: ['id', 'profileId'], + requiredParams: ['studioCreativeId'], + pathParams: ['studioCreativeId'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Inserts a new size. + * Inserts a new studio creative. * @example * ```js * // Before running the sample: @@ -39846,19 +41310,24 @@ export namespace dfareporting_v5 { * google.options({auth: authClient}); * * // Do the magic - * const res = await dfareporting.sizes.insert({ - * // User profile ID associated with this request. - * profileId: '[^/]+', - * + * const res = await dfareporting.studioCreatives.insert({ * // Request body metadata * requestBody: { * // request body parameters * // { - * // "height": 0, - * // "iab": false, + * // "assetIds": [], + * // "backupImageAssetId": "my_backupImageAssetId", + * // "createdInfo": {}, + * // "dimension": {}, + * // "dynamicProfileId": "my_dynamicProfileId", + * // "format": "my_format", * // "id": "my_id", - * // "kind": "my_kind", - * // "width": 0 + * // "lastModifiedInfo": {}, + * // "name": "my_name", + * // "status": "my_status", + * // "studioAccountId": "my_studioAccountId", + * // "studioAdvertiserId": "my_studioAdvertiserId", + * // "studioCampaignId": "my_studioCampaignId" * // } * }, * }); @@ -39866,11 +41335,19 @@ export namespace dfareporting_v5 { * * // Example response * // { - * // "height": 0, - * // "iab": false, + * // "assetIds": [], + * // "backupImageAssetId": "my_backupImageAssetId", + * // "createdInfo": {}, + * // "dimension": {}, + * // "dynamicProfileId": "my_dynamicProfileId", + * // "format": "my_format", * // "id": "my_id", - * // "kind": "my_kind", - * // "width": 0 + * // "lastModifiedInfo": {}, + * // "name": "my_name", + * // "status": "my_status", + * // "studioAccountId": "my_studioAccountId", + * // "studioAdvertiserId": "my_studioAdvertiserId", + * // "studioCampaignId": "my_studioCampaignId" * // } * } * @@ -39887,51 +41364,52 @@ export namespace dfareporting_v5 { * @returns A promise if used with async/await, or void if used with a callback. */ insert( - params: Params$Resource$Sizes$Insert, + params: Params$Resource$Studiocreatives$Insert, options: StreamMethodOptions ): Promise>; insert( - params?: Params$Resource$Sizes$Insert, + params?: Params$Resource$Studiocreatives$Insert, options?: MethodOptions - ): Promise>; + ): Promise>; insert( - params: Params$Resource$Sizes$Insert, + params: Params$Resource$Studiocreatives$Insert, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; insert( - params: Params$Resource$Sizes$Insert, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + params: Params$Resource$Studiocreatives$Insert, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; insert( - params: Params$Resource$Sizes$Insert, - callback: BodyResponseCallback + params: Params$Resource$Studiocreatives$Insert, + callback: BodyResponseCallback ): void; - insert(callback: BodyResponseCallback): void; + insert(callback: BodyResponseCallback): void; insert( paramsOrCallback?: - | Params$Resource$Sizes$Insert - | BodyResponseCallback + | Params$Resource$Studiocreatives$Insert + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { - let params = (paramsOrCallback || {}) as Params$Resource$Sizes$Insert; + let params = (paramsOrCallback || + {}) as Params$Resource$Studiocreatives$Insert; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Sizes$Insert; + params = {} as Params$Resource$Studiocreatives$Insert; options = {}; } @@ -39944,31 +41422,32 @@ export namespace dfareporting_v5 { const parameters = { options: Object.assign( { - url: ( - rootUrl + '/dfareporting/v5/userprofiles/{+profileId}/sizes' - ).replace(/([^:]\/)\/+/g, '$1'), + url: (rootUrl + '/dfareporting/v5/studio/creatives').replace( + /([^:]\/)\/+/g, + '$1' + ), method: 'POST', apiVersion: '', }, options ), params, - requiredParams: ['profileId'], - pathParams: ['profileId'], + requiredParams: [], + pathParams: [], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Retrieves a list of sizes, possibly filtered. Retrieved sizes are globally unique and may include values not currently in use by your account. Due to this, the list of sizes returned by this method may differ from the list seen in the Trafficking UI. + * Publish for a studio creative. * @example * ```js * // Before running the sample: @@ -39997,25 +41476,11 @@ export namespace dfareporting_v5 { * google.options({auth: authClient}); * * // Do the magic - * const res = await dfareporting.sizes.list({ - * // Select only sizes with this height. - * height: 'placeholder-value', - * // Select only IAB standard sizes. - * iabStandard: 'placeholder-value', - * // Select only sizes with these IDs. - * ids: 'placeholder-value', - * // User profile ID associated with this request. - * profileId: '[^/]+', - * // Select only sizes with this width. - * width: 'placeholder-value', + * const res = await dfareporting.studioCreatives.publish({ + * // Required. Studio creative ID. + * studioCreativeId: '[^/]+', * }); * console.log(res.data); - * - * // Example response - * // { - * // "kind": "my_kind", - * // "sizes": [] - * // } * } * * main().catch(e => { @@ -40030,52 +41495,51 @@ export namespace dfareporting_v5 { * @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$Sizes$List, + publish( + params: Params$Resource$Studiocreatives$Publish, options: StreamMethodOptions ): Promise>; - list( - params?: Params$Resource$Sizes$List, + publish( + params?: Params$Resource$Studiocreatives$Publish, options?: MethodOptions - ): Promise>; - list( - params: Params$Resource$Sizes$List, + ): Promise>; + publish( + params: Params$Resource$Studiocreatives$Publish, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Sizes$List, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + publish( + params: Params$Resource$Studiocreatives$Publish, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Sizes$List, - callback: BodyResponseCallback + publish( + params: Params$Resource$Studiocreatives$Publish, + callback: BodyResponseCallback ): void; - list(callback: BodyResponseCallback): void; - list( + publish(callback: BodyResponseCallback): void; + publish( paramsOrCallback?: - | Params$Resource$Sizes$List - | BodyResponseCallback + | Params$Resource$Studiocreatives$Publish + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback + callback?: BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { - let params = (paramsOrCallback || {}) as Params$Resource$Sizes$List; + let params = (paramsOrCallback || + {}) as Params$Resource$Studiocreatives$Publish; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Sizes$List; + params = {} as Params$Resource$Studiocreatives$Publish; options = {}; } @@ -40089,71 +41553,50 @@ export namespace dfareporting_v5 { options: Object.assign( { url: ( - rootUrl + '/dfareporting/v5/userprofiles/{+profileId}/sizes' + rootUrl + + '/dfareporting/v5/studio/creatives/{+studioCreativeId}/publish' ).replace(/([^:]\/)\/+/g, '$1'), - method: 'GET', + method: 'POST', apiVersion: '', }, options ), params, - requiredParams: ['profileId'], - pathParams: ['profileId'], + requiredParams: ['studioCreativeId'], + pathParams: ['studioCreativeId'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } } - export interface Params$Resource$Sizes$Get extends StandardParameters { - /** - * Size ID. - */ - id?: string; + export interface Params$Resource$Studiocreatives$Get + extends StandardParameters { /** - * User profile ID associated with this request. + * Required. Studio creative ID. */ - profileId?: string; + studioCreativeId?: string; } - export interface Params$Resource$Sizes$Insert extends StandardParameters { - /** - * User profile ID associated with this request. - */ - profileId?: string; - + export interface Params$Resource$Studiocreatives$Insert + extends StandardParameters { /** * Request body metadata */ - requestBody?: Schema$Size; + requestBody?: Schema$StudioCreative; } - export interface Params$Resource$Sizes$List extends StandardParameters { - /** - * Select only sizes with this height. - */ - height?: number; - /** - * Select only IAB standard sizes. - */ - iabStandard?: boolean; - /** - * Select only sizes with these IDs. - */ - ids?: string[]; - /** - * User profile ID associated with this request. - */ - profileId?: string; + export interface Params$Resource$Studiocreatives$Publish + extends StandardParameters { /** - * Select only sizes with this width. + * Required. Studio creative ID. */ - width?: number; + studioCreativeId?: string; } export class Resource$Subaccounts { diff --git a/src/apis/discoveryengine/v1.ts b/src/apis/discoveryengine/v1.ts index d474b21ea9a..494cb2e65a9 100644 --- a/src/apis/discoveryengine/v1.ts +++ b/src/apis/discoveryengine/v1.ts @@ -1053,44 +1053,6 @@ export namespace discoveryengine_v1 { */ enrollState?: string | null; } - /** - * The resource level alert config. Used in: * UserLicense * EngineUserData The AlertPolicyConfig in data connector is of same usage. No easy way to migrate. - */ - export interface Schema$GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig { - /** - * Optional. The enrollment state of each alert. - */ - alertEnrollments?: Schema$GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment[]; - /** - * Immutable. The fully qualified resource name of the AlertPolicy. - */ - alertPolicy?: string | null; - /** - * Optional. The contact details for each alert policy. - */ - contactDetails?: Schema$GoogleCloudDiscoveryengineV1ContactDetails[]; - /** - * Optional. The language code used for notifications - */ - languageCode?: string | null; - } - /** - * The alert enrollment status. - */ - export interface Schema$GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment { - /** - * Immutable. The id of an alert. - */ - alertId?: string | null; - /** - * Required. The enrollment status of a customer. - */ - enrollState?: string | null; - /** - * Optional. Parameters used to instantiate a notification. Used for notifications that are triggered when registered. Not stored. * Gemini Business welcome emails. * Gemini Business user invitation emails. - */ - notificationParams?: {[key: string]: string} | null; - } /** * AlloyDB source import data from. */ @@ -1812,6 +1774,10 @@ export namespace discoveryengine_v1 { * A piece of content and possibly its grounding information. Not all content needs grounding. Phrases like "Of course, I will gladly search it for you." do not need grounding. */ export interface Schema$GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent { + /** + * Source attribution of the generated content. See also https://cloud.google.com/vertex-ai/generative-ai/docs/learn/overview#citation_check + */ + citationMetadata?: Schema$GoogleCloudDiscoveryengineV1alphaCitationMetadata; /** * The content. */ @@ -1970,6 +1936,44 @@ export namespace discoveryengine_v1 { */ userLicenses?: Schema$GoogleCloudDiscoveryengineV1alphaUserLicense[]; } + /** + * Source attributions for content. + */ + export interface Schema$GoogleCloudDiscoveryengineV1alphaCitation { + /** + * Output only. End index into the content. + */ + endIndex?: number | null; + /** + * Output only. License of the attribution. + */ + license?: string | null; + /** + * Output only. Publication date of the attribution. + */ + publicationDate?: Schema$GoogleTypeDate; + /** + * Output only. Start index into the content. + */ + startIndex?: number | null; + /** + * Output only. Title of the attribution. + */ + title?: string | null; + /** + * Output only. Url reference of the attribution. + */ + uri?: string | null; + } + /** + * A collection of source attributions for a piece of content. + */ + export interface Schema$GoogleCloudDiscoveryengineV1alphaCitationMetadata { + /** + * Output only. List of citations. + */ + citations?: Schema$GoogleCloudDiscoveryengineV1alphaCitation[]; + } /** * Configurations used to enable CMEK data encryption with Cloud KMS keys. */ @@ -3891,6 +3895,10 @@ export namespace discoveryengine_v1 { * Optional. Whether the license config is for free trial. */ freeTrial?: boolean | null; + /** + * Output only. Whether the license config is for Gemini bundle. + */ + geminiBundle?: boolean | null; /** * Required. Number of licenses purchased. */ @@ -5066,6 +5074,10 @@ export namespace discoveryengine_v1 { * Optional. Whether the session is pinned, pinned session will be displayed on the top of the session list. */ isPinned?: boolean | null; + /** + * Optional. The labels for the session. Can be set as filter in ListSessionsRequest. + */ + labels?: string[] | null; /** * Immutable. Fully qualified name `projects/{project\}/locations/global/collections/{collection\}/engines/{engine\}/sessions/x` */ @@ -6569,6 +6581,10 @@ export namespace discoveryengine_v1 { * A piece of content and possibly its grounding information. Not all content needs grounding. Phrases like "Of course, I will gladly search it for you." do not need grounding. */ export interface Schema$GoogleCloudDiscoveryengineV1AssistantGroundedContent { + /** + * Source attribution of the generated content. See also https://cloud.google.com/vertex-ai/generative-ai/docs/learn/overview#citation_check + */ + citationMetadata?: Schema$GoogleCloudDiscoveryengineV1CitationMetadata; /** * The content. */ @@ -6870,44 +6886,6 @@ export namespace discoveryengine_v1 { */ disableInitialIndex?: boolean | null; } - /** - * The resource level alert config. Used in: * UserLicense * EngineUserData The AlertPolicyConfig in data connector is of same usage. No easy way to migrate. - */ - export interface Schema$GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig { - /** - * Optional. The enrollment state of each alert. - */ - alertEnrollments?: Schema$GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment[]; - /** - * Immutable. The fully qualified resource name of the AlertPolicy. - */ - alertPolicy?: string | null; - /** - * Optional. The contact details for each alert policy. - */ - contactDetails?: Schema$GoogleCloudDiscoveryengineV1betaContactDetails[]; - /** - * Optional. The language code used for notifications - */ - languageCode?: string | null; - } - /** - * The alert enrollment status. - */ - export interface Schema$GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment { - /** - * Immutable. The id of an alert. - */ - alertId?: string | null; - /** - * Required. The enrollment status of a customer. - */ - enrollState?: string | null; - /** - * Optional. Parameters used to instantiate a notification. Used for notifications that are triggered when registered. Not stored. * Gemini Business welcome emails. * Gemini Business user invitation emails. - */ - notificationParams?: {[key: string]: string} | null; - } /** * Metadata related to the progress of the SiteSearchEngineService.BatchCreateTargetSites operation. This will be returned by the google.longrunning.Operation.metadata field. */ @@ -7044,15 +7022,6 @@ export namespace discoveryengine_v1 { */ startTime?: string | null; } - /** - * The contact info stored in resource level. If both project level and resource level is populated, the resource level contact info will override the project level contact info. - */ - export interface Schema$GoogleCloudDiscoveryengineV1betaContactDetails { - /** - * Optional. The email address of the contact. - */ - emailAddress?: string | null; - } /** * Defines a conditioned behavior to employ during serving. Must be attached to a ServingConfig to be considered at serving time. Permitted actions dependent on `SolutionType`. */ @@ -8225,10 +8194,6 @@ export namespace discoveryengine_v1 { * Information about users' licenses. */ export interface Schema$GoogleCloudDiscoveryengineV1betaLicenseConfig { - /** - * Optional. The alert policy config for this license config. - */ - alertPolicyResourceConfig?: Schema$GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig; /** * Optional. Whether the license config should be auto renewed when it reaches the end date. */ @@ -8241,6 +8206,10 @@ export namespace discoveryengine_v1 { * Optional. Whether the license config is for free trial. */ freeTrial?: boolean | null; + /** + * Output only. Whether the license config is for Gemini bundle. + */ + geminiBundle?: boolean | null; /** * Required. Number of licenses purchased. */ @@ -9758,6 +9727,44 @@ export namespace discoveryengine_v1 { */ structureType?: string | null; } + /** + * Source attributions for content. + */ + export interface Schema$GoogleCloudDiscoveryengineV1Citation { + /** + * Output only. End index into the content. + */ + endIndex?: number | null; + /** + * Output only. License of the attribution. + */ + license?: string | null; + /** + * Output only. Publication date of the attribution. + */ + publicationDate?: Schema$GoogleTypeDate; + /** + * Output only. Start index into the content. + */ + startIndex?: number | null; + /** + * Output only. Title of the attribution. + */ + title?: string | null; + /** + * Output only. Url reference of the attribution. + */ + uri?: string | null; + } + /** + * A collection of source attributions for a piece of content. + */ + export interface Schema$GoogleCloudDiscoveryengineV1CitationMetadata { + /** + * Output only. List of citations. + */ + citations?: Schema$GoogleCloudDiscoveryengineV1Citation[]; + } /** * Cloud SQL source import data from. */ @@ -9956,15 +9963,6 @@ export namespace discoveryengine_v1 { */ startTime?: string | null; } - /** - * The contact info stored in resource level. If both project level and resource level is populated, the resource level contact info will override the project level contact info. - */ - export interface Schema$GoogleCloudDiscoveryengineV1ContactDetails { - /** - * Optional. The email address of the contact. - */ - emailAddress?: string | null; - } /** * Defines a conditioned behavior to employ during serving. Must be attached to a ServingConfig to be considered at serving time. Permitted actions dependent on `SolutionType`. */ @@ -11987,10 +11985,6 @@ export namespace discoveryengine_v1 { * Information about users' licenses. */ export interface Schema$GoogleCloudDiscoveryengineV1LicenseConfig { - /** - * Optional. The alert policy config for this license config. - */ - alertPolicyResourceConfig?: Schema$GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig; /** * Optional. Whether the license config should be auto renewed when it reaches the end date. */ @@ -12003,6 +11997,10 @@ export namespace discoveryengine_v1 { * Optional. Whether the license config is for free trial. */ freeTrial?: boolean | null; + /** + * Output only. Whether the license config is for Gemini bundle. + */ + geminiBundle?: boolean | null; /** * Required. Number of licenses purchased. */ @@ -13763,6 +13761,10 @@ export namespace discoveryengine_v1 { * Optional. Whether the session is pinned, pinned session will be displayed on the top of the session list. */ isPinned?: boolean | null; + /** + * Optional. The labels for the session. Can be set as filter in ListSessionsRequest. + */ + labels?: string[] | null; /** * Immutable. Fully qualified name `projects/{project\}/locations/global/collections/{collection\}/engines/{engine\}/sessions/x` */ @@ -13996,7 +13998,7 @@ export namespace discoveryengine_v1 { */ assistToken?: string | null; /** - * Session information. + * Session information. Only included in the final StreamAssistResponse of the response stream. */ sessionInfo?: Schema$GoogleCloudDiscoveryengineV1StreamAssistResponseSessionInfo; } @@ -14684,7 +14686,11 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -14880,7 +14886,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -15097,7 +15106,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -15243,7 +15255,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -15395,7 +15410,11 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -15551,7 +15570,11 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -15747,7 +15770,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -15902,7 +15928,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -16144,7 +16173,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -16287,7 +16319,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -16439,7 +16474,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -16587,7 +16625,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -16807,7 +16848,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -16950,7 +16994,11 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -17135,7 +17183,11 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -17418,7 +17470,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -17565,7 +17620,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -17835,7 +17893,11 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -17997,7 +18059,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -18183,7 +18248,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -18328,7 +18396,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -18494,7 +18565,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -18643,7 +18717,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -18801,7 +18878,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -18996,7 +19076,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -19299,7 +19382,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -19479,7 +19565,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -19662,7 +19751,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -19799,7 +19891,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -19958,7 +20053,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -20131,7 +20229,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -20289,7 +20390,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -20470,7 +20574,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -20730,7 +20837,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -20873,7 +20983,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -21020,7 +21133,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -21235,6 +21351,8 @@ export namespace discoveryengine_v1 { * scopes: [ * 'https://www.googleapis.com/auth/cloud-platform', * 'https://www.googleapis.com/auth/cloud_search.query', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', * ], * }); * @@ -21428,7 +21546,11 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -21589,7 +21711,11 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -21777,7 +21903,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -21960,7 +22089,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -22097,7 +22229,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -22256,7 +22391,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -22416,7 +22554,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -22668,7 +22809,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -22837,7 +22981,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -23008,7 +23155,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -23145,7 +23295,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -23299,7 +23452,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -23461,7 +23617,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -23715,7 +23874,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -23895,7 +24057,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -24042,7 +24207,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -24242,7 +24410,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -24389,7 +24560,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -24594,7 +24768,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -24757,7 +24934,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -24904,7 +25084,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -25055,7 +25238,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -25213,7 +25399,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -25441,7 +25630,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -25588,7 +25780,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -25788,7 +25983,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -25962,7 +26160,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -26159,7 +26360,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -26328,7 +26532,11 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -26529,7 +26737,11 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -26730,7 +26942,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -26993,7 +27208,11 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -27015,6 +27234,7 @@ export namespace discoveryengine_v1 { * // "displayName": "my_displayName", * // "endTime": "my_endTime", * // "isPinned": false, + * // "labels": [], * // "name": "my_name", * // "startTime": "my_startTime", * // "state": "my_state", @@ -27031,6 +27251,7 @@ export namespace discoveryengine_v1 { * // "displayName": "my_displayName", * // "endTime": "my_endTime", * // "isPinned": false, + * // "labels": [], * // "name": "my_name", * // "startTime": "my_startTime", * // "state": "my_state", @@ -27168,7 +27389,11 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -27305,7 +27530,11 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -27329,6 +27558,7 @@ export namespace discoveryengine_v1 { * // "displayName": "my_displayName", * // "endTime": "my_endTime", * // "isPinned": false, + * // "labels": [], * // "name": "my_name", * // "startTime": "my_startTime", * // "state": "my_state", @@ -27463,7 +27693,11 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -27625,7 +27859,11 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -27648,6 +27886,7 @@ export namespace discoveryengine_v1 { * // "displayName": "my_displayName", * // "endTime": "my_endTime", * // "isPinned": false, + * // "labels": [], * // "name": "my_name", * // "startTime": "my_startTime", * // "state": "my_state", @@ -27664,6 +27903,7 @@ export namespace discoveryengine_v1 { * // "displayName": "my_displayName", * // "endTime": "my_endTime", * // "isPinned": false, + * // "labels": [], * // "name": "my_name", * // "startTime": "my_startTime", * // "state": "my_state", @@ -27875,7 +28115,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -28067,7 +28310,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -28224,7 +28470,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -28380,7 +28629,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -28536,7 +28788,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -28694,7 +28949,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -28925,7 +29183,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -29072,7 +29333,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -29272,7 +29536,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -29433,7 +29700,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -29580,7 +29850,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -29778,7 +30051,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -29937,7 +30213,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -30105,7 +30384,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -30252,7 +30534,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -30410,7 +30695,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -30569,7 +30857,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -30806,7 +31097,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -30953,7 +31247,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -31153,7 +31450,11 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -31312,7 +31613,11 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -31500,7 +31805,11 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -31651,7 +31960,11 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -31813,7 +32126,11 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -31973,7 +32290,11 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -32280,7 +32601,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -32454,7 +32778,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -32599,7 +32926,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -32760,7 +33090,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -32919,7 +33252,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -33179,7 +33515,11 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -33332,7 +33672,11 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -33499,7 +33843,11 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -33711,6 +34059,8 @@ export namespace discoveryengine_v1 { * scopes: [ * 'https://www.googleapis.com/auth/cloud-platform', * 'https://www.googleapis.com/auth/cloud_search.query', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', * ], * }); * @@ -33904,7 +34254,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -34087,7 +34440,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -34224,7 +34580,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -34381,7 +34740,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -34539,7 +34901,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -34791,7 +35156,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -34960,7 +35328,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -35131,7 +35502,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -35268,7 +35642,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -35422,7 +35799,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -35584,7 +35964,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -35838,7 +36221,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -35981,7 +36367,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -36128,7 +36517,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -36340,7 +36732,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -36514,7 +36909,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -36711,7 +37109,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -36880,7 +37281,11 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -37081,7 +37486,11 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -37282,7 +37691,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -37545,7 +37957,11 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -37567,6 +37983,7 @@ export namespace discoveryengine_v1 { * // "displayName": "my_displayName", * // "endTime": "my_endTime", * // "isPinned": false, + * // "labels": [], * // "name": "my_name", * // "startTime": "my_startTime", * // "state": "my_state", @@ -37583,6 +38000,7 @@ export namespace discoveryengine_v1 { * // "displayName": "my_displayName", * // "endTime": "my_endTime", * // "isPinned": false, + * // "labels": [], * // "name": "my_name", * // "startTime": "my_startTime", * // "state": "my_state", @@ -37720,7 +38138,11 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -37857,7 +38279,11 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -37879,6 +38305,7 @@ export namespace discoveryengine_v1 { * // "displayName": "my_displayName", * // "endTime": "my_endTime", * // "isPinned": false, + * // "labels": [], * // "name": "my_name", * // "startTime": "my_startTime", * // "state": "my_state", @@ -38013,7 +38440,11 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -38173,7 +38604,11 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -38196,6 +38631,7 @@ export namespace discoveryengine_v1 { * // "displayName": "my_displayName", * // "endTime": "my_endTime", * // "isPinned": false, + * // "labels": [], * // "name": "my_name", * // "startTime": "my_startTime", * // "state": "my_state", @@ -38212,6 +38648,7 @@ export namespace discoveryengine_v1 { * // "displayName": "my_displayName", * // "endTime": "my_endTime", * // "isPinned": false, + * // "labels": [], * // "name": "my_name", * // "startTime": "my_startTime", * // "state": "my_state", @@ -38423,7 +38860,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -38600,7 +39040,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -38745,7 +39188,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -38997,7 +39443,11 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -39158,7 +39608,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -39341,7 +39794,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -39484,7 +39940,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -39648,7 +40107,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -39795,7 +40257,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -39950,7 +40415,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -40272,7 +40740,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -40452,7 +40923,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -40635,7 +41109,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -40772,7 +41249,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -40929,7 +41409,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -41102,7 +41585,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -41260,7 +41746,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -41441,7 +41930,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -41701,7 +42193,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -41844,7 +42339,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -41991,7 +42489,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -42206,6 +42707,8 @@ export namespace discoveryengine_v1 { * scopes: [ * 'https://www.googleapis.com/auth/cloud-platform', * 'https://www.googleapis.com/auth/cloud_search.query', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', * ], * }); * @@ -42399,7 +42902,11 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -42560,7 +43067,11 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -42748,7 +43259,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -42929,7 +43443,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -43064,7 +43581,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -43220,7 +43740,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -43379,7 +43902,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -43629,7 +44155,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -43796,7 +44325,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -43965,7 +44497,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -44100,7 +44635,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -44252,7 +44790,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -44412,7 +44953,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -44676,7 +45220,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -44821,7 +45368,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -45019,7 +45569,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -45164,7 +45717,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -45362,7 +45918,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -45523,7 +46082,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -45668,7 +46230,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -45816,7 +46381,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -45970,7 +46538,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -46197,7 +46768,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -46369,7 +46943,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -46564,7 +47141,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -46733,7 +47313,11 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -46932,7 +47516,11 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -47133,7 +47721,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -47396,7 +47987,11 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -47417,6 +48012,7 @@ export namespace discoveryengine_v1 { * // "displayName": "my_displayName", * // "endTime": "my_endTime", * // "isPinned": false, + * // "labels": [], * // "name": "my_name", * // "startTime": "my_startTime", * // "state": "my_state", @@ -47432,6 +48028,7 @@ export namespace discoveryengine_v1 { * // "displayName": "my_displayName", * // "endTime": "my_endTime", * // "isPinned": false, + * // "labels": [], * // "name": "my_name", * // "startTime": "my_startTime", * // "state": "my_state", @@ -47569,7 +48166,11 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -47704,7 +48305,11 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -47725,6 +48330,7 @@ export namespace discoveryengine_v1 { * // "displayName": "my_displayName", * // "endTime": "my_endTime", * // "isPinned": false, + * // "labels": [], * // "name": "my_name", * // "startTime": "my_startTime", * // "state": "my_state", @@ -47859,7 +48465,11 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -48020,7 +48630,11 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -48042,6 +48656,7 @@ export namespace discoveryengine_v1 { * // "displayName": "my_displayName", * // "endTime": "my_endTime", * // "isPinned": false, + * // "labels": [], * // "name": "my_name", * // "startTime": "my_startTime", * // "state": "my_state", @@ -48057,6 +48672,7 @@ export namespace discoveryengine_v1 { * // "displayName": "my_displayName", * // "endTime": "my_endTime", * // "isPinned": false, + * // "labels": [], * // "name": "my_name", * // "startTime": "my_startTime", * // "state": "my_state", @@ -48268,7 +48884,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -48453,7 +49072,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -48609,7 +49231,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -48765,7 +49390,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -48969,7 +49597,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -49130,7 +49761,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -49277,7 +49911,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -49470,7 +50107,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -49629,7 +50269,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -49797,7 +50440,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -49944,7 +50590,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -50102,7 +50751,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -50261,7 +50913,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -50498,7 +51153,11 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -50657,7 +51316,11 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -50844,7 +51507,11 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -50993,7 +51660,11 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -51153,7 +51824,11 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -51311,7 +51986,11 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -51581,7 +52260,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -51770,7 +52452,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -51938,7 +52623,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -52083,7 +52771,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -52232,7 +52923,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -52390,7 +53084,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -52545,7 +53242,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -52702,7 +53402,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -52962,7 +53665,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -53109,7 +53815,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -53309,7 +54018,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -53327,10 +54039,10 @@ export namespace discoveryengine_v1 { * requestBody: { * // request body parameters * // { - * // "alertPolicyResourceConfig": {}, * // "autoRenew": false, * // "endDate": {}, * // "freeTrial": false, + * // "geminiBundle": false, * // "licenseCount": "my_licenseCount", * // "name": "my_name", * // "startDate": {}, @@ -53344,10 +54056,10 @@ export namespace discoveryengine_v1 { * * // Example response * // { - * // "alertPolicyResourceConfig": {}, * // "autoRenew": false, * // "endDate": {}, * // "freeTrial": false, + * // "geminiBundle": false, * // "licenseCount": "my_licenseCount", * // "name": "my_name", * // "startDate": {}, @@ -53485,7 +54197,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -53501,10 +54216,10 @@ export namespace discoveryengine_v1 { * * // Example response * // { - * // "alertPolicyResourceConfig": {}, * // "autoRenew": false, * // "endDate": {}, * // "freeTrial": false, + * // "geminiBundle": false, * // "licenseCount": "my_licenseCount", * // "name": "my_name", * // "startDate": {}, @@ -53639,7 +54354,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -53657,10 +54375,10 @@ export namespace discoveryengine_v1 { * requestBody: { * // request body parameters * // { - * // "alertPolicyResourceConfig": {}, * // "autoRenew": false, * // "endDate": {}, * // "freeTrial": false, + * // "geminiBundle": false, * // "licenseCount": "my_licenseCount", * // "name": "my_name", * // "startDate": {}, @@ -53674,10 +54392,10 @@ export namespace discoveryengine_v1 { * * // Example response * // { - * // "alertPolicyResourceConfig": {}, * // "autoRenew": false, * // "endDate": {}, * // "freeTrial": false, + * // "geminiBundle": false, * // "licenseCount": "my_licenseCount", * // "name": "my_name", * // "startDate": {}, @@ -53859,7 +54577,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -54002,7 +54723,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -54209,7 +54933,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -54368,7 +55095,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -54550,7 +55280,11 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -54696,7 +55430,11 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -54853,7 +55591,11 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -55111,7 +55853,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -55291,7 +56036,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -55476,7 +56224,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -55615,7 +56366,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -55758,7 +56512,10 @@ export namespace discoveryengine_v1 { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls diff --git a/src/apis/discoveryengine/v1alpha.ts b/src/apis/discoveryengine/v1alpha.ts index 8d52b62c4bb..c9e6f3c0124 100644 --- a/src/apis/discoveryengine/v1alpha.ts +++ b/src/apis/discoveryengine/v1alpha.ts @@ -946,44 +946,6 @@ export namespace discoveryengine_v1alpha { */ enrollState?: string | null; } - /** - * The resource level alert config. Used in: * UserLicense * EngineUserData The AlertPolicyConfig in data connector is of same usage. No easy way to migrate. - */ - export interface Schema$GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig { - /** - * Optional. The enrollment state of each alert. - */ - alertEnrollments?: Schema$GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment[]; - /** - * Immutable. The fully qualified resource name of the AlertPolicy. - */ - alertPolicy?: string | null; - /** - * Optional. The contact details for each alert policy. - */ - contactDetails?: Schema$GoogleCloudDiscoveryengineV1ContactDetails[]; - /** - * Optional. The language code used for notifications - */ - languageCode?: string | null; - } - /** - * The alert enrollment status. - */ - export interface Schema$GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment { - /** - * Immutable. The id of an alert. - */ - alertId?: string | null; - /** - * Required. The enrollment status of a customer. - */ - enrollState?: string | null; - /** - * Optional. Parameters used to instantiate a notification. Used for notifications that are triggered when registered. Not stored. * Gemini Business welcome emails. * Gemini Business user invitation emails. - */ - notificationParams?: {[key: string]: string} | null; - } /** * Access Control Configuration. */ @@ -2517,6 +2479,10 @@ export namespace discoveryengine_v1alpha { * A piece of content and possibly its grounding information. Not all content needs grounding. Phrases like "Of course, I will gladly search it for you." do not need grounding. */ export interface Schema$GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent { + /** + * Source attribution of the generated content. See also https://cloud.google.com/vertex-ai/generative-ai/docs/learn/overview#citation_check + */ + citationMetadata?: Schema$GoogleCloudDiscoveryengineV1alphaCitationMetadata; /** * The content. */ @@ -3235,6 +3201,44 @@ export namespace discoveryengine_v1alpha { */ structureType?: string | null; } + /** + * Source attributions for content. + */ + export interface Schema$GoogleCloudDiscoveryengineV1alphaCitation { + /** + * Output only. End index into the content. + */ + endIndex?: number | null; + /** + * Output only. License of the attribution. + */ + license?: string | null; + /** + * Output only. Publication date of the attribution. + */ + publicationDate?: Schema$GoogleTypeDate; + /** + * Output only. Start index into the content. + */ + startIndex?: number | null; + /** + * Output only. Title of the attribution. + */ + title?: string | null; + /** + * Output only. Url reference of the attribution. + */ + uri?: string | null; + } + /** + * A collection of source attributions for a piece of content. + */ + export interface Schema$GoogleCloudDiscoveryengineV1alphaCitationMetadata { + /** + * Output only. List of citations. + */ + citations?: Schema$GoogleCloudDiscoveryengineV1alphaCitation[]; + } /** * Cloud SQL source import data from. */ @@ -3437,6 +3441,49 @@ export namespace discoveryengine_v1alpha { */ startTime?: string | null; } + /** + * Response for [EstimateBillingService.GetConfigurablePricingUsageStats] method. + */ + export interface Schema$GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStats { + /** + * A list of metric usages, one for each requested resource type that has data in the requested time range. + */ + metricUsages?: Schema$GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsMetricUsage[]; + /** + * Identifier. The name of the ConfigurablePricingUsageStats. Format: projects/{project\}/locations/{location\}/configurablePricingUsageStats + */ + name?: string | null; + } + /** + * A list of usages for a specific day. + */ + export interface Schema$GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsDatedUsage { + /** + * The date of the usage. + */ + date?: Schema$GoogleTypeDate; + /** + * The usage value on the date. + */ + usage?: number | null; + } + /** + * The usage of a metric over a list of days. + */ + export interface Schema$GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsMetricUsage { + /** + * The list of usages for this resource type, chronologically sorted by date. This is populated for metrics with daily aggregation like DAILY_MDN_QPM. + */ + datedUsages?: Schema$GoogleCloudDiscoveryengineV1alphaConfigurablePricingUsageStatsDatedUsage[]; + /** + * The metric type. + */ + metricType?: string | null; + /** + * The list of total usages for this resource type + */ + totalUsages?: number[] | null; + } /** * A data sync run of DataConnector. After DataConnector is successfully initialized, data syncs are scheduled at DataConnector.refresh_interval. A ConnectorRun represents a data sync either in the past or onging that the moment. // */ @@ -6208,6 +6255,10 @@ export namespace discoveryengine_v1alpha { * Optional. Whether the license config is for free trial. */ freeTrial?: boolean | null; + /** + * Output only. Whether the license config is for Gemini bundle. + */ + geminiBundle?: boolean | null; /** * Required. Number of licenses purchased. */ @@ -9036,6 +9087,10 @@ export namespace discoveryengine_v1alpha { * Optional. Whether the session is pinned, pinned session will be displayed on the top of the session list. */ isPinned?: boolean | null; + /** + * Optional. The labels for the session. Can be set as filter in ListSessionsRequest. + */ + labels?: string[] | null; /** * Immutable. Fully qualified name `projects/{project\}/locations/global/collections/{collection\}/engines/{engine\}/sessions/x` */ @@ -9375,7 +9430,7 @@ export namespace discoveryengine_v1alpha { */ assistToken?: string | null; /** - * Session information. + * Session information. Only included in the final StreamAssistResponse of the response stream. */ sessionInfo?: Schema$GoogleCloudDiscoveryengineV1alphaStreamAssistResponseSessionInfo; } @@ -10661,44 +10716,6 @@ export namespace discoveryengine_v1alpha { */ disableInitialIndex?: boolean | null; } - /** - * The resource level alert config. Used in: * UserLicense * EngineUserData The AlertPolicyConfig in data connector is of same usage. No easy way to migrate. - */ - export interface Schema$GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig { - /** - * Optional. The enrollment state of each alert. - */ - alertEnrollments?: Schema$GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment[]; - /** - * Immutable. The fully qualified resource name of the AlertPolicy. - */ - alertPolicy?: string | null; - /** - * Optional. The contact details for each alert policy. - */ - contactDetails?: Schema$GoogleCloudDiscoveryengineV1betaContactDetails[]; - /** - * Optional. The language code used for notifications - */ - languageCode?: string | null; - } - /** - * The alert enrollment status. - */ - export interface Schema$GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment { - /** - * Immutable. The id of an alert. - */ - alertId?: string | null; - /** - * Required. The enrollment status of a customer. - */ - enrollState?: string | null; - /** - * Optional. Parameters used to instantiate a notification. Used for notifications that are triggered when registered. Not stored. * Gemini Business welcome emails. * Gemini Business user invitation emails. - */ - notificationParams?: {[key: string]: string} | null; - } /** * Metadata related to the progress of the SiteSearchEngineService.BatchCreateTargetSites operation. This will be returned by the google.longrunning.Operation.metadata field. */ @@ -10835,15 +10852,6 @@ export namespace discoveryengine_v1alpha { */ startTime?: string | null; } - /** - * The contact info stored in resource level. If both project level and resource level is populated, the resource level contact info will override the project level contact info. - */ - export interface Schema$GoogleCloudDiscoveryengineV1betaContactDetails { - /** - * Optional. The email address of the contact. - */ - emailAddress?: string | null; - } /** * Defines a conditioned behavior to employ during serving. Must be attached to a ServingConfig to be considered at serving time. Permitted actions dependent on `SolutionType`. */ @@ -12016,10 +12024,6 @@ export namespace discoveryengine_v1alpha { * Information about users' licenses. */ export interface Schema$GoogleCloudDiscoveryengineV1betaLicenseConfig { - /** - * Optional. The alert policy config for this license config. - */ - alertPolicyResourceConfig?: Schema$GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig; /** * Optional. Whether the license config should be auto renewed when it reaches the end date. */ @@ -12032,6 +12036,10 @@ export namespace discoveryengine_v1alpha { * Optional. Whether the license config is for free trial. */ freeTrial?: boolean | null; + /** + * Output only. Whether the license config is for Gemini bundle. + */ + geminiBundle?: boolean | null; /** * Required. Number of licenses purchased. */ @@ -13322,15 +13330,6 @@ export namespace discoveryengine_v1alpha { */ startTime?: string | null; } - /** - * The contact info stored in resource level. If both project level and resource level is populated, the resource level contact info will override the project level contact info. - */ - export interface Schema$GoogleCloudDiscoveryengineV1ContactDetails { - /** - * Optional. The email address of the contact. - */ - emailAddress?: string | null; - } /** * Defines a conditioned behavior to employ during serving. Must be attached to a ServingConfig to be considered at serving time. Permitted actions dependent on `SolutionType`. */ @@ -14657,10 +14656,6 @@ export namespace discoveryengine_v1alpha { * Information about users' licenses. */ export interface Schema$GoogleCloudDiscoveryengineV1LicenseConfig { - /** - * Optional. The alert policy config for this license config. - */ - alertPolicyResourceConfig?: Schema$GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig; /** * Optional. Whether the license config should be auto renewed when it reaches the end date. */ @@ -14673,6 +14668,10 @@ export namespace discoveryengine_v1alpha { * Optional. Whether the license config is for free trial. */ freeTrial?: boolean | null; + /** + * Output only. Whether the license config is for Gemini bundle. + */ + geminiBundle?: boolean | null; /** * Required. Number of licenses purchased. */ @@ -16308,7 +16307,11 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -16504,7 +16507,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -16652,7 +16658,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -16814,7 +16823,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -16970,7 +16982,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -17240,7 +17255,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -17395,7 +17413,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -17541,7 +17562,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -17671,6 +17695,171 @@ export namespace discoveryengine_v1alpha { } } + /** + * Gets configurable pricing usage stats. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const discoveryengine = google.discoveryengine('v1alpha'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await discoveryengine.projects.locations.getConfigurablePricingUsageStats({ + * // Optional. The metric types to return usage for. + * metricTypes: 'placeholder-value', + * // Required. The name of the ConfigurablePricingUsageStats to retrieve. Format: projects/{project\}/locations/{location\}/configurablePricingUsageStats + * name: 'projects/my-project/locations/my-location/configurablePricingUsageStats', + * // Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. + * 'timeRange.endDate.day': 'placeholder-value', + * // Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. + * 'timeRange.endDate.month': 'placeholder-value', + * // Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. + * 'timeRange.endDate.year': 'placeholder-value', + * // Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. + * 'timeRange.startDate.day': 'placeholder-value', + * // Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. + * 'timeRange.startDate.month': 'placeholder-value', + * // Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. + * 'timeRange.startDate.year': 'placeholder-value', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "metricUsages": [], + * // "name": "my_name" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + getConfigurablePricingUsageStats( + params: Params$Resource$Projects$Locations$Getconfigurablepricingusagestats, + options: StreamMethodOptions + ): Promise>; + getConfigurablePricingUsageStats( + params?: Params$Resource$Projects$Locations$Getconfigurablepricingusagestats, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + getConfigurablePricingUsageStats( + params: Params$Resource$Projects$Locations$Getconfigurablepricingusagestats, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + getConfigurablePricingUsageStats( + params: Params$Resource$Projects$Locations$Getconfigurablepricingusagestats, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + getConfigurablePricingUsageStats( + params: Params$Resource$Projects$Locations$Getconfigurablepricingusagestats, + callback: BodyResponseCallback + ): void; + getConfigurablePricingUsageStats( + callback: BodyResponseCallback + ): void; + getConfigurablePricingUsageStats( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Getconfigurablepricingusagestats + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Getconfigurablepricingusagestats; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = + {} as Params$Resource$Projects$Locations$Getconfigurablepricingusagestats; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://discoveryengine.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + /** * Obtains the time series data of organic or dedicated crawl rate for monitoring. When dedicated crawl rate is not set, it will return vertex AI's organic crawl rate time series. Organic crawl means Google automatically crawl the internet at its own convenience. When dedicated crawl rate is set, it will return vertex AI's dedicated crawl rate time series. * @example @@ -17693,7 +17882,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -17852,7 +18044,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -18008,7 +18203,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -18164,7 +18362,11 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -18320,7 +18522,11 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -18516,7 +18722,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -18671,7 +18880,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -18836,6 +19048,41 @@ export namespace discoveryengine_v1alpha { */ name?: string; } + export interface Params$Resource$Projects$Locations$Getconfigurablepricingusagestats + extends StandardParameters { + /** + * Optional. The metric types to return usage for. + */ + metricTypes?: string[]; + /** + * Required. The name of the ConfigurablePricingUsageStats to retrieve. Format: projects/{project\}/locations/{location\}/configurablePricingUsageStats + */ + name?: string; + /** + * Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. + */ + 'timeRange.endDate.day'?: number; + /** + * Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. + */ + 'timeRange.endDate.month'?: number; + /** + * Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. + */ + 'timeRange.endDate.year'?: number; + /** + * Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. + */ + 'timeRange.startDate.day'?: number; + /** + * Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. + */ + 'timeRange.startDate.month'?: number; + /** + * Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. + */ + 'timeRange.startDate.year'?: number; + } export interface Params$Resource$Projects$Locations$Obtaincrawlrate extends StandardParameters { /** @@ -18961,7 +19208,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -19104,7 +19354,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -19256,7 +19509,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -19404,7 +19660,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -19624,7 +19883,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -19767,7 +20029,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -19915,7 +20180,11 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -20100,7 +20369,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -20255,7 +20527,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -20411,7 +20686,11 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -20734,7 +21013,11 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -20893,7 +21176,11 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -21045,7 +21332,11 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -21202,7 +21493,11 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -21421,7 +21716,11 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -21602,7 +21901,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -21749,7 +22051,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -22024,7 +22329,11 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -22186,7 +22495,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -22375,7 +22687,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -22520,7 +22835,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -22689,7 +23007,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -22841,7 +23162,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -22990,7 +23314,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -23148,7 +23475,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -23349,7 +23679,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -23511,7 +23844,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -23840,7 +24176,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -23996,7 +24335,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -24151,7 +24493,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -24356,7 +24701,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -24539,7 +24887,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -24676,7 +25027,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -24835,7 +25189,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -24994,7 +25351,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -25167,7 +25527,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -25325,7 +25688,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -25506,7 +25872,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -25785,7 +26154,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -25944,7 +26316,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -26132,7 +26507,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -26278,7 +26656,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -26425,7 +26806,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -26640,6 +27024,8 @@ export namespace discoveryengine_v1alpha { * scopes: [ * 'https://www.googleapis.com/auth/cloud-platform', * 'https://www.googleapis.com/auth/cloud_search.query', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', * ], * }); * @@ -26832,7 +27218,11 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -26993,7 +27383,11 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -27181,7 +27575,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -27364,7 +27761,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -27501,7 +27901,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -27660,7 +28063,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -27820,7 +28226,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -28072,7 +28481,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -28242,7 +28654,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -28413,7 +28828,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -28550,7 +28968,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -28704,7 +29125,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -28866,7 +29290,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -29120,7 +29547,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -29300,7 +29730,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -29447,7 +29880,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -29647,7 +30083,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -29794,7 +30233,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -29999,7 +30441,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -30163,7 +30608,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -30310,7 +30758,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -30462,7 +30913,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -30620,7 +31074,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -30849,7 +31306,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -30996,7 +31456,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -31196,7 +31659,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -31370,7 +31836,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -31542,7 +32011,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -31700,7 +32172,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -31905,7 +32380,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -32074,7 +32552,11 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -32288,7 +32770,11 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -32502,7 +32988,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -32787,7 +33276,11 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -32809,6 +33302,7 @@ export namespace discoveryengine_v1alpha { * // "displayName": "my_displayName", * // "endTime": "my_endTime", * // "isPinned": false, + * // "labels": [], * // "name": "my_name", * // "startTime": "my_startTime", * // "state": "my_state", @@ -32825,6 +33319,7 @@ export namespace discoveryengine_v1alpha { * // "displayName": "my_displayName", * // "endTime": "my_endTime", * // "isPinned": false, + * // "labels": [], * // "name": "my_name", * // "startTime": "my_startTime", * // "state": "my_state", @@ -32962,7 +33457,11 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -33099,7 +33598,11 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -33123,6 +33626,7 @@ export namespace discoveryengine_v1alpha { * // "displayName": "my_displayName", * // "endTime": "my_endTime", * // "isPinned": false, + * // "labels": [], * // "name": "my_name", * // "startTime": "my_startTime", * // "state": "my_state", @@ -33257,7 +33761,11 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -33419,7 +33927,11 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -33442,6 +33954,7 @@ export namespace discoveryengine_v1alpha { * // "displayName": "my_displayName", * // "endTime": "my_endTime", * // "isPinned": false, + * // "labels": [], * // "name": "my_name", * // "startTime": "my_startTime", * // "state": "my_state", @@ -33458,6 +33971,7 @@ export namespace discoveryengine_v1alpha { * // "displayName": "my_displayName", * // "endTime": "my_endTime", * // "isPinned": false, + * // "labels": [], * // "name": "my_name", * // "startTime": "my_startTime", * // "state": "my_state", @@ -33669,7 +34183,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -33862,7 +34379,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -34018,7 +34538,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -34174,7 +34697,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -34330,7 +34856,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -34489,7 +35018,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -34641,7 +35173,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -34801,7 +35336,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -35051,7 +35589,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -35198,7 +35739,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -35398,7 +35942,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -35559,7 +36106,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -35706,7 +36256,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -35904,7 +36457,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -36062,7 +36618,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -36230,7 +36789,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -36377,7 +36939,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -36535,7 +37100,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -36694,7 +37262,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -36931,7 +37502,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -37078,7 +37652,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -37278,7 +37855,11 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -37437,7 +38018,11 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -37625,7 +38210,11 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -37776,7 +38365,11 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -37938,7 +38531,11 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -38098,7 +38695,11 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -38370,7 +38971,11 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -38627,7 +39232,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -38803,7 +39411,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -38948,7 +39559,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -39111,7 +39725,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -39263,7 +39880,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -39422,7 +40042,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -39613,7 +40236,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -39786,7 +40412,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -39959,7 +40588,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -40230,7 +40862,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -40409,7 +41044,11 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -40562,7 +41201,11 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -40729,7 +41372,11 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -40941,6 +41588,8 @@ export namespace discoveryengine_v1alpha { * scopes: [ * 'https://www.googleapis.com/auth/cloud-platform', * 'https://www.googleapis.com/auth/cloud_search.query', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', * ], * }); * @@ -41113,7 +41762,11 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -41307,7 +41960,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -41490,7 +42146,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -41627,7 +42286,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -41784,7 +42446,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -41942,7 +42607,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -42194,7 +42862,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -42364,7 +43035,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -42535,7 +43209,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -42672,7 +43349,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -42826,7 +43506,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -42988,7 +43671,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -43242,7 +43928,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -43389,7 +44078,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -43589,7 +44281,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -43763,7 +44458,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -43935,7 +44633,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -44093,7 +44794,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -44298,7 +45002,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -44467,7 +45174,11 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -44681,7 +45392,11 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -44895,7 +45610,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -45185,7 +45903,11 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -45207,6 +45929,7 @@ export namespace discoveryengine_v1alpha { * // "displayName": "my_displayName", * // "endTime": "my_endTime", * // "isPinned": false, + * // "labels": [], * // "name": "my_name", * // "startTime": "my_startTime", * // "state": "my_state", @@ -45223,6 +45946,7 @@ export namespace discoveryengine_v1alpha { * // "displayName": "my_displayName", * // "endTime": "my_endTime", * // "isPinned": false, + * // "labels": [], * // "name": "my_name", * // "startTime": "my_startTime", * // "state": "my_state", @@ -45360,7 +46084,11 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -45497,7 +46225,11 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -45519,6 +46251,7 @@ export namespace discoveryengine_v1alpha { * // "displayName": "my_displayName", * // "endTime": "my_endTime", * // "isPinned": false, + * // "labels": [], * // "name": "my_name", * // "startTime": "my_startTime", * // "state": "my_state", @@ -45653,7 +46386,11 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -45813,7 +46550,11 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -45836,6 +46577,7 @@ export namespace discoveryengine_v1alpha { * // "displayName": "my_displayName", * // "endTime": "my_endTime", * // "isPinned": false, + * // "labels": [], * // "name": "my_name", * // "startTime": "my_startTime", * // "state": "my_state", @@ -45852,6 +46594,7 @@ export namespace discoveryengine_v1alpha { * // "displayName": "my_displayName", * // "endTime": "my_endTime", * // "isPinned": false, + * // "labels": [], * // "name": "my_name", * // "startTime": "my_startTime", * // "state": "my_state", @@ -46063,7 +46806,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -46241,7 +46987,11 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -46434,7 +47184,11 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -46646,7 +47400,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -46791,7 +47548,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -47046,7 +47806,11 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -47207,7 +47971,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -47393,7 +48160,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -47536,7 +48306,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -47703,7 +48476,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -47855,7 +48631,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -48002,7 +48781,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -48157,7 +48939,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -48356,7 +49141,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -48673,7 +49461,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -48829,7 +49620,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -48981,7 +49775,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -49185,7 +49982,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -49368,7 +50168,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -49505,7 +50308,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -49662,7 +50468,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -49821,7 +50630,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -49994,7 +50806,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -50152,7 +50967,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -50333,7 +51151,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -50612,7 +51433,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -50771,7 +51595,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -50959,7 +51786,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -51105,7 +51935,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -51252,7 +52085,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -51467,6 +52303,8 @@ export namespace discoveryengine_v1alpha { * scopes: [ * 'https://www.googleapis.com/auth/cloud-platform', * 'https://www.googleapis.com/auth/cloud_search.query', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', * ], * }); * @@ -51659,7 +52497,11 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -51820,7 +52662,11 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -52008,7 +52854,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -52189,7 +53038,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -52324,7 +53176,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -52480,7 +53335,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -52639,7 +53497,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -52889,7 +53750,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -53057,7 +53921,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -53226,7 +54093,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -53361,7 +54231,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -53513,7 +54386,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -53673,7 +54549,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -53937,7 +54816,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -54082,7 +54964,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -54280,7 +55165,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -54425,7 +55313,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -54623,7 +55514,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -54785,7 +55679,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -54930,7 +55827,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -55079,7 +55979,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -55233,7 +56136,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -55461,7 +56367,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -55633,7 +56542,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -55803,7 +56715,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -55959,7 +56874,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -56162,7 +57080,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -56331,7 +57252,11 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -56543,7 +57468,11 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -56757,7 +57686,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -57042,7 +57974,11 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -57063,6 +57999,7 @@ export namespace discoveryengine_v1alpha { * // "displayName": "my_displayName", * // "endTime": "my_endTime", * // "isPinned": false, + * // "labels": [], * // "name": "my_name", * // "startTime": "my_startTime", * // "state": "my_state", @@ -57078,6 +58015,7 @@ export namespace discoveryengine_v1alpha { * // "displayName": "my_displayName", * // "endTime": "my_endTime", * // "isPinned": false, + * // "labels": [], * // "name": "my_name", * // "startTime": "my_startTime", * // "state": "my_state", @@ -57215,7 +58153,11 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -57350,7 +58292,11 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -57371,6 +58317,7 @@ export namespace discoveryengine_v1alpha { * // "displayName": "my_displayName", * // "endTime": "my_endTime", * // "isPinned": false, + * // "labels": [], * // "name": "my_name", * // "startTime": "my_startTime", * // "state": "my_state", @@ -57505,7 +58452,11 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -57666,7 +58617,11 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -57688,6 +58643,7 @@ export namespace discoveryengine_v1alpha { * // "displayName": "my_displayName", * // "endTime": "my_endTime", * // "isPinned": false, + * // "labels": [], * // "name": "my_name", * // "startTime": "my_startTime", * // "state": "my_state", @@ -57703,6 +58659,7 @@ export namespace discoveryengine_v1alpha { * // "displayName": "my_displayName", * // "endTime": "my_endTime", * // "isPinned": false, + * // "labels": [], * // "name": "my_name", * // "startTime": "my_startTime", * // "state": "my_state", @@ -57914,7 +58871,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -58100,7 +59060,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -58256,7 +59219,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -58412,7 +59378,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -58616,7 +59585,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -58777,7 +59749,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -58924,7 +59899,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -59117,7 +60095,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -59275,7 +60256,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -59443,7 +60427,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -59590,7 +60577,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -59748,7 +60738,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -59907,7 +60900,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -60144,7 +61140,11 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -60303,7 +61303,11 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -60490,7 +61494,11 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -60639,7 +61647,11 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -60799,7 +61811,11 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -60957,7 +61973,11 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -61227,7 +62247,11 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -61441,7 +62465,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -61602,7 +62629,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -61754,7 +62784,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -61907,7 +62940,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -62119,7 +63155,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -62279,7 +63318,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -62468,7 +63510,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -62638,7 +63683,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -62783,7 +63831,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -62933,7 +63984,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -63092,7 +64146,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -63247,7 +64304,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -63404,7 +64464,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -63664,7 +64727,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -63811,7 +64877,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -64011,7 +65080,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -64033,6 +65105,7 @@ export namespace discoveryengine_v1alpha { * // "autoRenew": false, * // "endDate": {}, * // "freeTrial": false, + * // "geminiBundle": false, * // "licenseCount": "my_licenseCount", * // "name": "my_name", * // "startDate": {}, @@ -64050,6 +65123,7 @@ export namespace discoveryengine_v1alpha { * // "autoRenew": false, * // "endDate": {}, * // "freeTrial": false, + * // "geminiBundle": false, * // "licenseCount": "my_licenseCount", * // "name": "my_name", * // "startDate": {}, @@ -64187,7 +65261,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -64207,6 +65284,7 @@ export namespace discoveryengine_v1alpha { * // "autoRenew": false, * // "endDate": {}, * // "freeTrial": false, + * // "geminiBundle": false, * // "licenseCount": "my_licenseCount", * // "name": "my_name", * // "startDate": {}, @@ -64341,7 +65419,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -64363,6 +65444,7 @@ export namespace discoveryengine_v1alpha { * // "autoRenew": false, * // "endDate": {}, * // "freeTrial": false, + * // "geminiBundle": false, * // "licenseCount": "my_licenseCount", * // "name": "my_name", * // "startDate": {}, @@ -64380,6 +65462,7 @@ export namespace discoveryengine_v1alpha { * // "autoRenew": false, * // "endDate": {}, * // "freeTrial": false, + * // "geminiBundle": false, * // "licenseCount": "my_licenseCount", * // "name": "my_name", * // "startDate": {}, @@ -64568,7 +65651,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -64714,7 +65800,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -64882,7 +65971,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -65033,7 +66125,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -65187,7 +66282,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -65408,7 +66506,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -65566,7 +66667,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -65728,7 +66832,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -65886,7 +66993,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -66034,7 +67144,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -66183,7 +67296,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -66400,7 +67516,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -66543,7 +67662,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -66750,7 +67872,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -66909,7 +68034,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -67091,7 +68219,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -67283,7 +68414,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -67448,7 +68582,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -67582,7 +68719,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -67730,7 +68870,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -67883,7 +69026,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -68113,7 +69259,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -68273,7 +69422,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -68440,7 +69592,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -68577,7 +69732,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -68726,7 +69884,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -68888,7 +70049,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -69046,7 +70210,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -69290,7 +70457,11 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -69436,7 +70607,11 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -69593,7 +70768,11 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -69855,7 +71034,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -70034,7 +71216,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -70179,7 +71364,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -70377,7 +71565,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -70562,7 +71753,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -70705,7 +71899,10 @@ export namespace discoveryengine_v1alpha { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls diff --git a/src/apis/discoveryengine/v1beta.ts b/src/apis/discoveryengine/v1beta.ts index 734b329eebf..0f228378d21 100644 --- a/src/apis/discoveryengine/v1beta.ts +++ b/src/apis/discoveryengine/v1beta.ts @@ -848,44 +848,6 @@ export namespace discoveryengine_v1beta { */ enrollState?: string | null; } - /** - * The resource level alert config. Used in: * UserLicense * EngineUserData The AlertPolicyConfig in data connector is of same usage. No easy way to migrate. - */ - export interface Schema$GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig { - /** - * Optional. The enrollment state of each alert. - */ - alertEnrollments?: Schema$GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment[]; - /** - * Immutable. The fully qualified resource name of the AlertPolicy. - */ - alertPolicy?: string | null; - /** - * Optional. The contact details for each alert policy. - */ - contactDetails?: Schema$GoogleCloudDiscoveryengineV1ContactDetails[]; - /** - * Optional. The language code used for notifications - */ - languageCode?: string | null; - } - /** - * The alert enrollment status. - */ - export interface Schema$GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment { - /** - * Immutable. The id of an alert. - */ - alertId?: string | null; - /** - * Required. The enrollment status of a customer. - */ - enrollState?: string | null; - /** - * Optional. Parameters used to instantiate a notification. Used for notifications that are triggered when registered. Not stored. * Gemini Business welcome emails. * Gemini Business user invitation emails. - */ - notificationParams?: {[key: string]: string} | null; - } /** * Access Control Configuration. */ @@ -1578,6 +1540,10 @@ export namespace discoveryengine_v1beta { * A piece of content and possibly its grounding information. Not all content needs grounding. Phrases like "Of course, I will gladly search it for you." do not need grounding. */ export interface Schema$GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent { + /** + * Source attribution of the generated content. See also https://cloud.google.com/vertex-ai/generative-ai/docs/learn/overview#citation_check + */ + citationMetadata?: Schema$GoogleCloudDiscoveryengineV1alphaCitationMetadata; /** * The content. */ @@ -1736,6 +1702,44 @@ export namespace discoveryengine_v1beta { */ userLicenses?: Schema$GoogleCloudDiscoveryengineV1alphaUserLicense[]; } + /** + * Source attributions for content. + */ + export interface Schema$GoogleCloudDiscoveryengineV1alphaCitation { + /** + * Output only. End index into the content. + */ + endIndex?: number | null; + /** + * Output only. License of the attribution. + */ + license?: string | null; + /** + * Output only. Publication date of the attribution. + */ + publicationDate?: Schema$GoogleTypeDate; + /** + * Output only. Start index into the content. + */ + startIndex?: number | null; + /** + * Output only. Title of the attribution. + */ + title?: string | null; + /** + * Output only. Url reference of the attribution. + */ + uri?: string | null; + } + /** + * A collection of source attributions for a piece of content. + */ + export interface Schema$GoogleCloudDiscoveryengineV1alphaCitationMetadata { + /** + * Output only. List of citations. + */ + citations?: Schema$GoogleCloudDiscoveryengineV1alphaCitation[]; + } /** * Configurations used to enable CMEK data encryption with Cloud KMS keys. */ @@ -3657,6 +3661,10 @@ export namespace discoveryengine_v1beta { * Optional. Whether the license config is for free trial. */ freeTrial?: boolean | null; + /** + * Output only. Whether the license config is for Gemini bundle. + */ + geminiBundle?: boolean | null; /** * Required. Number of licenses purchased. */ @@ -4832,6 +4840,10 @@ export namespace discoveryengine_v1beta { * Optional. Whether the session is pinned, pinned session will be displayed on the top of the session list. */ isPinned?: boolean | null; + /** + * Optional. The labels for the session. Can be set as filter in ListSessionsRequest. + */ + labels?: string[] | null; /** * Immutable. Fully qualified name `projects/{project\}/locations/global/collections/{collection\}/engines/{engine\}/sessions/x` */ @@ -5695,44 +5707,6 @@ export namespace discoveryengine_v1beta { */ disableInitialIndex?: boolean | null; } - /** - * The resource level alert config. Used in: * UserLicense * EngineUserData The AlertPolicyConfig in data connector is of same usage. No easy way to migrate. - */ - export interface Schema$GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig { - /** - * Optional. The enrollment state of each alert. - */ - alertEnrollments?: Schema$GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment[]; - /** - * Immutable. The fully qualified resource name of the AlertPolicy. - */ - alertPolicy?: string | null; - /** - * Optional. The contact details for each alert policy. - */ - contactDetails?: Schema$GoogleCloudDiscoveryengineV1betaContactDetails[]; - /** - * Optional. The language code used for notifications - */ - languageCode?: string | null; - } - /** - * The alert enrollment status. - */ - export interface Schema$GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment { - /** - * Immutable. The id of an alert. - */ - alertId?: string | null; - /** - * Required. The enrollment status of a customer. - */ - enrollState?: string | null; - /** - * Optional. Parameters used to instantiate a notification. Used for notifications that are triggered when registered. Not stored. * Gemini Business welcome emails. * Gemini Business user invitation emails. - */ - notificationParams?: {[key: string]: string} | null; - } /** * AlloyDB source import data from. */ @@ -6921,6 +6895,10 @@ export namespace discoveryengine_v1beta { * A piece of content and possibly its grounding information. Not all content needs grounding. Phrases like "Of course, I will gladly search it for you." do not need grounding. */ export interface Schema$GoogleCloudDiscoveryengineV1betaAssistantGroundedContent { + /** + * Source attribution of the generated content. See also https://cloud.google.com/vertex-ai/generative-ai/docs/learn/overview#citation_check + */ + citationMetadata?: Schema$GoogleCloudDiscoveryengineV1betaCitationMetadata; /** * The content. */ @@ -7507,6 +7485,44 @@ export namespace discoveryengine_v1beta { */ structureType?: string | null; } + /** + * Source attributions for content. + */ + export interface Schema$GoogleCloudDiscoveryengineV1betaCitation { + /** + * Output only. End index into the content. + */ + endIndex?: number | null; + /** + * Output only. License of the attribution. + */ + license?: string | null; + /** + * Output only. Publication date of the attribution. + */ + publicationDate?: Schema$GoogleTypeDate; + /** + * Output only. Start index into the content. + */ + startIndex?: number | null; + /** + * Output only. Title of the attribution. + */ + title?: string | null; + /** + * Output only. Url reference of the attribution. + */ + uri?: string | null; + } + /** + * A collection of source attributions for a piece of content. + */ + export interface Schema$GoogleCloudDiscoveryengineV1betaCitationMetadata { + /** + * Output only. List of citations. + */ + citations?: Schema$GoogleCloudDiscoveryengineV1betaCitation[]; + } /** * Cloud SQL source import data from. */ @@ -7688,15 +7704,6 @@ export namespace discoveryengine_v1beta { */ startTime?: string | null; } - /** - * The contact info stored in resource level. If both project level and resource level is populated, the resource level contact info will override the project level contact info. - */ - export interface Schema$GoogleCloudDiscoveryengineV1betaContactDetails { - /** - * Optional. The email address of the contact. - */ - emailAddress?: string | null; - } /** * Defines a conditioned behavior to employ during serving. Must be attached to a ServingConfig to be considered at serving time. Permitted actions dependent on `SolutionType`. */ @@ -9587,10 +9594,6 @@ export namespace discoveryengine_v1beta { * Information about users' licenses. */ export interface Schema$GoogleCloudDiscoveryengineV1betaLicenseConfig { - /** - * Optional. The alert policy config for this license config. - */ - alertPolicyResourceConfig?: Schema$GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig; /** * Optional. Whether the license config should be auto renewed when it reaches the end date. */ @@ -9603,6 +9606,10 @@ export namespace discoveryengine_v1beta { * Optional. Whether the license config is for free trial. */ freeTrial?: boolean | null; + /** + * Output only. Whether the license config is for Gemini bundle. + */ + geminiBundle?: boolean | null; /** * Required. Number of licenses purchased. */ @@ -12014,6 +12021,10 @@ export namespace discoveryengine_v1beta { * Optional. Whether the session is pinned, pinned session will be displayed on the top of the session list. */ isPinned?: boolean | null; + /** + * Optional. The labels for the session. Can be set as filter in ListSessionsRequest. + */ + labels?: string[] | null; /** * Immutable. Fully qualified name `projects/{project\}/locations/global/collections/{collection\}/engines/{engine\}/sessions/x` */ @@ -12273,7 +12284,7 @@ export namespace discoveryengine_v1beta { */ assistToken?: string | null; /** - * Session information. + * Session information. Only included in the final StreamAssistResponse of the response stream. */ sessionInfo?: Schema$GoogleCloudDiscoveryengineV1betaStreamAssistResponseSessionInfo; } @@ -12790,15 +12801,6 @@ export namespace discoveryengine_v1beta { */ startTime?: string | null; } - /** - * The contact info stored in resource level. If both project level and resource level is populated, the resource level contact info will override the project level contact info. - */ - export interface Schema$GoogleCloudDiscoveryengineV1ContactDetails { - /** - * Optional. The email address of the contact. - */ - emailAddress?: string | null; - } /** * Defines a conditioned behavior to employ during serving. Must be attached to a ServingConfig to be considered at serving time. Permitted actions dependent on `SolutionType`. */ @@ -14125,10 +14127,6 @@ export namespace discoveryengine_v1beta { * Information about users' licenses. */ export interface Schema$GoogleCloudDiscoveryengineV1LicenseConfig { - /** - * Optional. The alert policy config for this license config. - */ - alertPolicyResourceConfig?: Schema$GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig; /** * Optional. Whether the license config should be auto renewed when it reaches the end date. */ @@ -14141,6 +14139,10 @@ export namespace discoveryengine_v1beta { * Optional. Whether the license config is for free trial. */ freeTrial?: boolean | null; + /** + * Output only. Whether the license config is for Gemini bundle. + */ + geminiBundle?: boolean | null; /** * Required. Number of licenses purchased. */ @@ -15160,7 +15162,11 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -15356,7 +15362,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -15581,7 +15590,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -15727,7 +15739,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -15879,7 +15894,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -16038,7 +16056,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -16194,7 +16215,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -16350,7 +16374,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -16505,7 +16532,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -16751,7 +16781,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -16894,7 +16927,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -17046,7 +17082,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -17194,7 +17233,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -17433,7 +17475,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -17580,7 +17625,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -17850,7 +17898,11 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -18012,7 +18064,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -18200,7 +18255,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -18345,7 +18403,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -18513,7 +18574,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -18662,7 +18726,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -18820,7 +18887,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -19019,7 +19089,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -19322,7 +19395,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -19501,7 +19577,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -19684,7 +19763,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -19821,7 +19903,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -19980,7 +20065,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -20153,7 +20241,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -20311,7 +20402,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -20492,7 +20586,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -20752,7 +20849,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -20898,7 +20998,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -21045,7 +21148,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -21260,6 +21366,8 @@ export namespace discoveryengine_v1beta { * scopes: [ * 'https://www.googleapis.com/auth/cloud-platform', * 'https://www.googleapis.com/auth/cloud_search.query', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', * ], * }); * @@ -21452,7 +21560,11 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -21613,7 +21725,11 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -21801,7 +21917,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -21984,7 +22103,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -22121,7 +22243,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -22280,7 +22405,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -22440,7 +22568,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -22692,7 +22823,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -22862,7 +22996,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -23033,7 +23170,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -23170,7 +23310,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -23324,7 +23467,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -23486,7 +23632,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -23740,7 +23889,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -23920,7 +24072,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -24067,7 +24222,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -24267,7 +24425,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -24414,7 +24575,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -24619,7 +24783,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -24782,7 +24949,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -24929,7 +25099,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -25080,7 +25253,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -25238,7 +25414,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -25466,7 +25645,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -25613,7 +25795,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -25813,7 +25998,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -25987,7 +26175,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -26157,7 +26348,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -26315,7 +26509,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -26516,7 +26713,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -26685,7 +26885,11 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -26897,7 +27101,11 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -27109,7 +27317,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -27394,7 +27605,11 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -27416,6 +27631,7 @@ export namespace discoveryengine_v1beta { * // "displayName": "my_displayName", * // "endTime": "my_endTime", * // "isPinned": false, + * // "labels": [], * // "name": "my_name", * // "startTime": "my_startTime", * // "state": "my_state", @@ -27432,6 +27648,7 @@ export namespace discoveryengine_v1beta { * // "displayName": "my_displayName", * // "endTime": "my_endTime", * // "isPinned": false, + * // "labels": [], * // "name": "my_name", * // "startTime": "my_startTime", * // "state": "my_state", @@ -27569,7 +27786,11 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -27706,7 +27927,11 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -27730,6 +27955,7 @@ export namespace discoveryengine_v1beta { * // "displayName": "my_displayName", * // "endTime": "my_endTime", * // "isPinned": false, + * // "labels": [], * // "name": "my_name", * // "startTime": "my_startTime", * // "state": "my_state", @@ -27864,7 +28090,11 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -28026,7 +28256,11 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -28049,6 +28283,7 @@ export namespace discoveryengine_v1beta { * // "displayName": "my_displayName", * // "endTime": "my_endTime", * // "isPinned": false, + * // "labels": [], * // "name": "my_name", * // "startTime": "my_startTime", * // "state": "my_state", @@ -28065,6 +28300,7 @@ export namespace discoveryengine_v1beta { * // "displayName": "my_displayName", * // "endTime": "my_endTime", * // "isPinned": false, + * // "labels": [], * // "name": "my_name", * // "startTime": "my_startTime", * // "state": "my_state", @@ -28276,7 +28512,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -28469,7 +28708,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -28626,7 +28868,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -28782,7 +29027,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -28938,7 +29186,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -29097,7 +29348,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -29328,7 +29582,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -29475,7 +29732,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -29675,7 +29935,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -29836,7 +30099,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -29983,7 +30249,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -30181,7 +30450,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -30339,7 +30611,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -30507,7 +30782,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -30654,7 +30932,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -30812,7 +31093,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -30971,7 +31255,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -31208,7 +31495,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -31355,7 +31645,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -31555,7 +31848,11 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -31714,7 +32011,11 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -31902,7 +32203,11 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -32053,7 +32358,11 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -32215,7 +32524,11 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -32375,7 +32688,11 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -32682,7 +32999,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -32856,7 +33176,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -33001,7 +33324,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -33162,7 +33488,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -33321,7 +33650,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -33508,7 +33840,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -33679,7 +34014,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -33850,7 +34188,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -34114,7 +34455,11 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -34267,7 +34612,11 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -34434,7 +34783,11 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -34646,6 +34999,8 @@ export namespace discoveryengine_v1beta { * scopes: [ * 'https://www.googleapis.com/auth/cloud-platform', * 'https://www.googleapis.com/auth/cloud_search.query', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', * ], * }); * @@ -34818,7 +35173,11 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -35012,7 +35371,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -35195,7 +35557,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -35332,7 +35697,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -35489,7 +35857,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -35647,7 +36018,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -35899,7 +36273,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -36069,7 +36446,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -36240,7 +36620,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -36377,7 +36760,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -36531,7 +36917,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -36693,7 +37082,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -36947,7 +37339,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -37094,7 +37489,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -37294,7 +37692,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -37468,7 +37869,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -37638,7 +38042,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -37796,7 +38203,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -37997,7 +38407,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -38166,7 +38579,11 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -38378,7 +38795,11 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -38590,7 +39011,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -38875,7 +39299,11 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -38897,6 +39325,7 @@ export namespace discoveryengine_v1beta { * // "displayName": "my_displayName", * // "endTime": "my_endTime", * // "isPinned": false, + * // "labels": [], * // "name": "my_name", * // "startTime": "my_startTime", * // "state": "my_state", @@ -38913,6 +39342,7 @@ export namespace discoveryengine_v1beta { * // "displayName": "my_displayName", * // "endTime": "my_endTime", * // "isPinned": false, + * // "labels": [], * // "name": "my_name", * // "startTime": "my_startTime", * // "state": "my_state", @@ -39050,7 +39480,11 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -39187,7 +39621,11 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -39209,6 +39647,7 @@ export namespace discoveryengine_v1beta { * // "displayName": "my_displayName", * // "endTime": "my_endTime", * // "isPinned": false, + * // "labels": [], * // "name": "my_name", * // "startTime": "my_startTime", * // "state": "my_state", @@ -39343,7 +39782,11 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -39503,7 +39946,11 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -39526,6 +39973,7 @@ export namespace discoveryengine_v1beta { * // "displayName": "my_displayName", * // "endTime": "my_endTime", * // "isPinned": false, + * // "labels": [], * // "name": "my_name", * // "startTime": "my_startTime", * // "state": "my_state", @@ -39542,6 +39990,7 @@ export namespace discoveryengine_v1beta { * // "displayName": "my_displayName", * // "endTime": "my_endTime", * // "isPinned": false, + * // "labels": [], * // "name": "my_name", * // "startTime": "my_startTime", * // "state": "my_state", @@ -39753,7 +40202,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -39931,7 +40383,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -40076,7 +40531,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -40328,7 +40786,11 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -40489,7 +40951,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -40674,7 +41139,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -40817,7 +41285,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -40983,7 +41454,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -41130,7 +41604,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -41285,7 +41762,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -41611,7 +42091,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -41790,7 +42273,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -41973,7 +42459,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -42110,7 +42599,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -42267,7 +42759,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -42440,7 +42935,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -42598,7 +43096,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -42779,7 +43280,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -43039,7 +43543,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -43185,7 +43692,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -43332,7 +43842,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -43547,6 +44060,8 @@ export namespace discoveryengine_v1beta { * scopes: [ * 'https://www.googleapis.com/auth/cloud-platform', * 'https://www.googleapis.com/auth/cloud_search.query', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', * ], * }); * @@ -43739,7 +44254,11 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -43900,7 +44419,11 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -44088,7 +44611,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -44269,7 +44795,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -44404,7 +44933,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -44560,7 +45092,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -44719,7 +45254,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -44969,7 +45507,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -45137,7 +45678,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -45306,7 +45850,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -45441,7 +45988,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -45593,7 +46143,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -45753,7 +46306,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -46017,7 +46573,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -46162,7 +46721,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -46360,7 +46922,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -46505,7 +47070,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -46703,7 +47271,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -46864,7 +47435,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -47009,7 +47583,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -47157,7 +47734,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -47311,7 +47891,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -47538,7 +48121,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -47710,7 +48296,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -47878,7 +48467,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -48034,7 +48626,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -48233,7 +48828,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -48402,7 +49000,11 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -48612,7 +49214,11 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -48824,7 +49430,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -49109,7 +49718,11 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -49130,6 +49743,7 @@ export namespace discoveryengine_v1beta { * // "displayName": "my_displayName", * // "endTime": "my_endTime", * // "isPinned": false, + * // "labels": [], * // "name": "my_name", * // "startTime": "my_startTime", * // "state": "my_state", @@ -49145,6 +49759,7 @@ export namespace discoveryengine_v1beta { * // "displayName": "my_displayName", * // "endTime": "my_endTime", * // "isPinned": false, + * // "labels": [], * // "name": "my_name", * // "startTime": "my_startTime", * // "state": "my_state", @@ -49282,7 +49897,11 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -49417,7 +50036,11 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -49438,6 +50061,7 @@ export namespace discoveryengine_v1beta { * // "displayName": "my_displayName", * // "endTime": "my_endTime", * // "isPinned": false, + * // "labels": [], * // "name": "my_name", * // "startTime": "my_startTime", * // "state": "my_state", @@ -49572,7 +50196,11 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -49733,7 +50361,11 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -49755,6 +50387,7 @@ export namespace discoveryengine_v1beta { * // "displayName": "my_displayName", * // "endTime": "my_endTime", * // "isPinned": false, + * // "labels": [], * // "name": "my_name", * // "startTime": "my_startTime", * // "state": "my_state", @@ -49770,6 +50403,7 @@ export namespace discoveryengine_v1beta { * // "displayName": "my_displayName", * // "endTime": "my_endTime", * // "isPinned": false, + * // "labels": [], * // "name": "my_name", * // "startTime": "my_startTime", * // "state": "my_state", @@ -49981,7 +50615,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -50167,7 +50804,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -50323,7 +50963,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -50479,7 +51122,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -50683,7 +51329,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -50844,7 +51493,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -50991,7 +51643,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -51184,7 +51839,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -51342,7 +52000,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -51510,7 +52171,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -51657,7 +52321,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -51815,7 +52482,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -51974,7 +52644,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -52211,7 +52884,11 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -52370,7 +53047,11 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -52557,7 +53238,11 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -52706,7 +53391,11 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -52866,7 +53555,11 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -53024,7 +53717,11 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -53298,7 +53995,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -53459,7 +54159,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -53611,7 +54314,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -53764,7 +54470,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -53976,7 +54685,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -54136,7 +54848,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -54325,7 +55040,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -54493,7 +55211,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -54638,7 +55359,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -54787,7 +55511,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -54945,7 +55672,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -55100,7 +55830,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -55257,7 +55990,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -55517,7 +56253,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -55664,7 +56403,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -55864,7 +56606,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -55882,10 +56627,10 @@ export namespace discoveryengine_v1beta { * requestBody: { * // request body parameters * // { - * // "alertPolicyResourceConfig": {}, * // "autoRenew": false, * // "endDate": {}, * // "freeTrial": false, + * // "geminiBundle": false, * // "licenseCount": "my_licenseCount", * // "name": "my_name", * // "startDate": {}, @@ -55899,10 +56644,10 @@ export namespace discoveryengine_v1beta { * * // Example response * // { - * // "alertPolicyResourceConfig": {}, * // "autoRenew": false, * // "endDate": {}, * // "freeTrial": false, + * // "geminiBundle": false, * // "licenseCount": "my_licenseCount", * // "name": "my_name", * // "startDate": {}, @@ -56040,7 +56785,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -56056,10 +56804,10 @@ export namespace discoveryengine_v1beta { * * // Example response * // { - * // "alertPolicyResourceConfig": {}, * // "autoRenew": false, * // "endDate": {}, * // "freeTrial": false, + * // "geminiBundle": false, * // "licenseCount": "my_licenseCount", * // "name": "my_name", * // "startDate": {}, @@ -56194,7 +56942,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -56212,10 +56963,10 @@ export namespace discoveryengine_v1beta { * requestBody: { * // request body parameters * // { - * // "alertPolicyResourceConfig": {}, * // "autoRenew": false, * // "endDate": {}, * // "freeTrial": false, + * // "geminiBundle": false, * // "licenseCount": "my_licenseCount", * // "name": "my_name", * // "startDate": {}, @@ -56229,10 +56980,10 @@ export namespace discoveryengine_v1beta { * * // Example response * // { - * // "alertPolicyResourceConfig": {}, * // "autoRenew": false, * // "endDate": {}, * // "freeTrial": false, + * // "geminiBundle": false, * // "licenseCount": "my_licenseCount", * // "name": "my_name", * // "startDate": {}, @@ -56414,7 +57165,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -56557,7 +57311,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -56764,7 +57521,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -56923,7 +57683,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -57115,7 +57878,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -57280,7 +58046,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -57414,7 +58183,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -57562,7 +58334,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -57715,7 +58490,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -57945,7 +58723,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -58105,7 +58886,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -58272,7 +59056,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -58409,7 +59196,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -58558,7 +59348,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -58720,7 +59513,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -58878,7 +59674,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -59122,7 +59921,11 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -59268,7 +60071,11 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -59425,7 +60232,11 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -59683,7 +60494,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -59862,7 +60676,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -60047,7 +60864,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls @@ -60190,7 +61010,10 @@ export namespace discoveryengine_v1beta { * async function main() { * const auth = new google.auth.GoogleAuth({ * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * scopes: [ + * 'https://www.googleapis.com/auth/cloud-platform', + * 'https://www.googleapis.com/auth/discoveryengine.readwrite', + * ], * }); * * // Acquire an auth client, and bind it to all future calls diff --git a/src/apis/dlp/v2.ts b/src/apis/dlp/v2.ts index 040d44c3e79..1f6a885e479 100644 --- a/src/apis/dlp/v2.ts +++ b/src/apis/dlp/v2.ts @@ -7918,7 +7918,7 @@ export namespace dlp_v2 { * * // Do the magic * const res = await dlp.organizations.locations.columnDataProfiles.list({ - * // Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field\} {operator\} {value\}`. * Supported fields: - `table_data_profile_name`: The name of the related table data profile - `project_id`: The Google Cloud project ID (REQUIRED) - `dataset_id`: The BigQuery dataset ID (REQUIRED) - `table_id`: The BigQuery table ID (REQUIRED) - `field_id`: The ID of the BigQuery field - `info_type`: The infotype detected in the resource - `sensitivity_level`: HIGH|MEDIUM|LOW - `data_risk_level`: How much risk is associated with this data - `status_code`: An RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto - `profile_last_generated`: Date and time the profile was last generated * The operator must be `=` for project_id, dataset_id, and table_id. Other filters also support `!=`. The `profile_last_generated` filter also supports `<` and `\>`. Examples: * project_id = 12345 AND status_code = 1 * project_id = 12345 AND sensitivity_level = HIGH * project_id = 12345 AND info_type = STREET_ADDRESS * profile_last_generated < "2025-01-01T00:00:00.000Z" The length of this field should be no more than 500 characters. + * // Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field\} {operator\} {value\}`. * Supported fields: - `table_data_profile_name`: The name of the related table data profile - `project_id`: The Google Cloud project ID (REQUIRED) - `dataset_id`: The BigQuery dataset ID (REQUIRED) - `table_id`: The BigQuery table ID (REQUIRED) - `field_id`: The ID of the BigQuery field - `info_type`: The infotype detected in the resource - `sensitivity_level`: HIGH|MEDIUM|LOW - `data_risk_level`: How much risk is associated with this data - `status_code`: An RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto - `profile_last_generated`: Date and time the profile was last generated * The operator must be `=` for project_id, dataset_id, and table_id. Other filters also support `!=`. The `profile_last_generated` filter also supports `<` and `\>`. The syntax is based on https://google.aip.dev/160. Examples: * project_id = 12345 AND status_code = 1 * project_id = 12345 AND sensitivity_level = HIGH * project_id = 12345 AND info_type = STREET_ADDRESS * profile_last_generated < "2025-01-01T00:00:00.000Z" The length of this field should be no more than 500 characters. * filter: 'placeholder-value', * // Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed. Examples: * `project_id asc` * `table_id` * `sensitivity_level desc` Supported fields are: - `project_id`: The Google Cloud project ID. - `dataset_id`: The ID of a BigQuery dataset. - `table_id`: The ID of a BigQuery table. - `sensitivity_level`: How sensitive the data in a column is, at most. - `data_risk_level`: How much risk is associated with this data. - `profile_last_generated`: When the profile was last updated in epoch seconds. * orderBy: 'placeholder-value', @@ -8055,7 +8055,7 @@ export namespace dlp_v2 { export interface Params$Resource$Organizations$Locations$Columndataprofiles$List extends StandardParameters { /** - * Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field\} {operator\} {value\}`. * Supported fields: - `table_data_profile_name`: The name of the related table data profile - `project_id`: The Google Cloud project ID (REQUIRED) - `dataset_id`: The BigQuery dataset ID (REQUIRED) - `table_id`: The BigQuery table ID (REQUIRED) - `field_id`: The ID of the BigQuery field - `info_type`: The infotype detected in the resource - `sensitivity_level`: HIGH|MEDIUM|LOW - `data_risk_level`: How much risk is associated with this data - `status_code`: An RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto - `profile_last_generated`: Date and time the profile was last generated * The operator must be `=` for project_id, dataset_id, and table_id. Other filters also support `!=`. The `profile_last_generated` filter also supports `<` and `\>`. Examples: * project_id = 12345 AND status_code = 1 * project_id = 12345 AND sensitivity_level = HIGH * project_id = 12345 AND info_type = STREET_ADDRESS * profile_last_generated < "2025-01-01T00:00:00.000Z" The length of this field should be no more than 500 characters. + * Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field\} {operator\} {value\}`. * Supported fields: - `table_data_profile_name`: The name of the related table data profile - `project_id`: The Google Cloud project ID (REQUIRED) - `dataset_id`: The BigQuery dataset ID (REQUIRED) - `table_id`: The BigQuery table ID (REQUIRED) - `field_id`: The ID of the BigQuery field - `info_type`: The infotype detected in the resource - `sensitivity_level`: HIGH|MEDIUM|LOW - `data_risk_level`: How much risk is associated with this data - `status_code`: An RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto - `profile_last_generated`: Date and time the profile was last generated * The operator must be `=` for project_id, dataset_id, and table_id. Other filters also support `!=`. The `profile_last_generated` filter also supports `<` and `\>`. The syntax is based on https://google.aip.dev/160. Examples: * project_id = 12345 AND status_code = 1 * project_id = 12345 AND sensitivity_level = HIGH * project_id = 12345 AND info_type = STREET_ADDRESS * profile_last_generated < "2025-01-01T00:00:00.000Z" The length of this field should be no more than 500 characters. */ filter?: string; /** @@ -8544,7 +8544,7 @@ export namespace dlp_v2 { * * // Do the magic * const res = await dlp.organizations.locations.connections.list({ - * // Optional. Supported field/value: `state` - MISSING|AVAILABLE|ERROR + * // Optional. Supported field/value: `state` - MISSING|AVAILABLE|ERROR The syntax is based on https://google.aip.dev/160. * filter: 'placeholder-value', * // Optional. Number of results per page, max 1000. * pageSize: 'placeholder-value', @@ -8851,7 +8851,7 @@ export namespace dlp_v2 { * * // Do the magic * const res = await dlp.organizations.locations.connections.search({ - * // Optional. Supported field/value: - `state` - MISSING|AVAILABLE|ERROR + * // Optional. Supported field/value: - `state` - MISSING|AVAILABLE|ERROR The syntax is based on https://google.aip.dev/160. * filter: 'placeholder-value', * // Optional. Number of results per page, max 1000. * pageSize: 'placeholder-value', @@ -9005,7 +9005,7 @@ export namespace dlp_v2 { export interface Params$Resource$Organizations$Locations$Connections$List extends StandardParameters { /** - * Optional. Supported field/value: `state` - MISSING|AVAILABLE|ERROR + * Optional. Supported field/value: `state` - MISSING|AVAILABLE|ERROR The syntax is based on https://google.aip.dev/160. */ filter?: string; /** @@ -9036,7 +9036,7 @@ export namespace dlp_v2 { export interface Params$Resource$Organizations$Locations$Connections$Search extends StandardParameters { /** - * Optional. Supported field/value: - `state` - MISSING|AVAILABLE|ERROR + * Optional. Supported field/value: - `state` - MISSING|AVAILABLE|ERROR The syntax is based on https://google.aip.dev/160. */ filter?: string; /** @@ -10766,7 +10766,7 @@ export namespace dlp_v2 { * * // Do the magic * const res = await dlp.organizations.locations.dlpJobs.list({ - * // Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field\} {operator\} {value\}`. * Supported fields/values for inspect jobs: - `state` - PENDING|RUNNING|CANCELED|FINISHED|FAILED - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY - `trigger_name` - The name of the trigger that created the job. - 'end_time` - Corresponds to the time the job finished. - 'start_time` - Corresponds to the time the job finished. * Supported fields for risk analysis jobs: - `state` - RUNNING|CANCELED|FINISHED|FAILED - 'end_time` - Corresponds to the time the job finished. - 'start_time` - Corresponds to the time the job finished. * The operator must be `=` or `!=`. Examples: * inspected_storage = cloud_storage AND state = done * inspected_storage = cloud_storage OR inspected_storage = bigquery * inspected_storage = cloud_storage AND (state = done OR state = canceled) * end_time \> \"2017-12-12T00:00:00+00:00\" The length of this field should be no more than 500 characters. + * // Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field\} {operator\} {value\}`. * Supported fields/values for inspect jobs: - `state` - PENDING|RUNNING|CANCELED|FINISHED|FAILED - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY - `trigger_name` - The name of the trigger that created the job. - 'end_time` - Corresponds to the time the job finished. - 'start_time` - Corresponds to the time the job finished. * Supported fields for risk analysis jobs: - `state` - RUNNING|CANCELED|FINISHED|FAILED - 'end_time` - Corresponds to the time the job finished. - 'start_time` - Corresponds to the time the job finished. * The operator must be `=` or `!=`. The syntax is based on https://google.aip.dev/160. Examples: * inspected_storage = cloud_storage AND state = done * inspected_storage = cloud_storage OR inspected_storage = bigquery * inspected_storage = cloud_storage AND (state = done OR state = canceled) * end_time \> \"2017-12-12T00:00:00+00:00\" The length of this field should be no more than 500 characters. * filter: 'placeholder-value', * // Deprecated. This field has no effect. * locationId: 'placeholder-value', @@ -10899,7 +10899,7 @@ export namespace dlp_v2 { export interface Params$Resource$Organizations$Locations$Dlpjobs$List extends StandardParameters { /** - * Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field\} {operator\} {value\}`. * Supported fields/values for inspect jobs: - `state` - PENDING|RUNNING|CANCELED|FINISHED|FAILED - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY - `trigger_name` - The name of the trigger that created the job. - 'end_time` - Corresponds to the time the job finished. - 'start_time` - Corresponds to the time the job finished. * Supported fields for risk analysis jobs: - `state` - RUNNING|CANCELED|FINISHED|FAILED - 'end_time` - Corresponds to the time the job finished. - 'start_time` - Corresponds to the time the job finished. * The operator must be `=` or `!=`. Examples: * inspected_storage = cloud_storage AND state = done * inspected_storage = cloud_storage OR inspected_storage = bigquery * inspected_storage = cloud_storage AND (state = done OR state = canceled) * end_time \> \"2017-12-12T00:00:00+00:00\" The length of this field should be no more than 500 characters. + * Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field\} {operator\} {value\}`. * Supported fields/values for inspect jobs: - `state` - PENDING|RUNNING|CANCELED|FINISHED|FAILED - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY - `trigger_name` - The name of the trigger that created the job. - 'end_time` - Corresponds to the time the job finished. - 'start_time` - Corresponds to the time the job finished. * Supported fields for risk analysis jobs: - `state` - RUNNING|CANCELED|FINISHED|FAILED - 'end_time` - Corresponds to the time the job finished. - 'start_time` - Corresponds to the time the job finished. * The operator must be `=` or `!=`. The syntax is based on https://google.aip.dev/160. Examples: * inspected_storage = cloud_storage AND state = done * inspected_storage = cloud_storage OR inspected_storage = bigquery * inspected_storage = cloud_storage AND (state = done OR state = canceled) * end_time \> \"2017-12-12T00:00:00+00:00\" The length of this field should be no more than 500 characters. */ filter?: string; /** @@ -11269,7 +11269,7 @@ export namespace dlp_v2 { * * // Do the magic * const res = await dlp.organizations.locations.fileStoreDataProfiles.list({ - * // Optional. Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field\} {operator\} {value\}`. * Supported fields: - `project_id`: The Google Cloud project ID - `account_id`: The AWS account ID - `file_store_path`: The path like "gs://bucket" - `data_source_type`: The profile's data source type, like "google/storage/bucket" - `data_storage_location`: The location where the file store's data is stored, like "us-central1" - `sensitivity_level`: HIGH|MODERATE|LOW - `data_risk_level`: HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC|RESTRICTED - `status_code`: an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto - `profile_last_generated`: Date and time the profile was last generated * The operator must be `=` or `!=`. The `profile_last_generated` filter also supports `<` and `\>`. Examples: * `project_id = 12345 AND status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH` * `project_id = 12345 AND resource_visibility = PUBLIC` * `file_store_path = "gs://mybucket"` * `profile_last_generated < "2025-01-01T00:00:00.000Z"` The length of this field should be no more than 500 characters. + * // Optional. Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field\} {operator\} {value\}`. * Supported fields: - `project_id`: The Google Cloud project ID - `account_id`: The AWS account ID - `file_store_path`: The path like "gs://bucket" - `data_source_type`: The profile's data source type, like "google/storage/bucket" - `data_storage_location`: The location where the file store's data is stored, like "us-central1" - `sensitivity_level`: HIGH|MODERATE|LOW - `data_risk_level`: HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC|RESTRICTED - `status_code`: an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto - `profile_last_generated`: Date and time the profile was last generated * The operator must be `=` or `!=`. The `profile_last_generated` filter also supports `<` and `\>`. The syntax is based on https://google.aip.dev/160. Examples: * `project_id = 12345 AND status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH` * `project_id = 12345 AND resource_visibility = PUBLIC` * `file_store_path = "gs://mybucket"` * `profile_last_generated < "2025-01-01T00:00:00.000Z"` The length of this field should be no more than 500 characters. * filter: 'placeholder-value', * // Optional. Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed. Examples: * `project_id asc` * `name` * `sensitivity_level desc` Supported fields are: - `project_id`: The Google Cloud project ID. - `sensitivity_level`: How sensitive the data in a table is, at most. - `data_risk_level`: How much risk is associated with this data. - `profile_last_generated`: When the profile was last updated in epoch seconds. - `last_modified`: The last time the resource was modified. - `resource_visibility`: Visibility restriction for this resource. - `name`: The name of the profile. - `create_time`: The time the file store was first created. * orderBy: 'placeholder-value', @@ -11413,7 +11413,7 @@ export namespace dlp_v2 { export interface Params$Resource$Organizations$Locations$Filestoredataprofiles$List extends StandardParameters { /** - * Optional. Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field\} {operator\} {value\}`. * Supported fields: - `project_id`: The Google Cloud project ID - `account_id`: The AWS account ID - `file_store_path`: The path like "gs://bucket" - `data_source_type`: The profile's data source type, like "google/storage/bucket" - `data_storage_location`: The location where the file store's data is stored, like "us-central1" - `sensitivity_level`: HIGH|MODERATE|LOW - `data_risk_level`: HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC|RESTRICTED - `status_code`: an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto - `profile_last_generated`: Date and time the profile was last generated * The operator must be `=` or `!=`. The `profile_last_generated` filter also supports `<` and `\>`. Examples: * `project_id = 12345 AND status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH` * `project_id = 12345 AND resource_visibility = PUBLIC` * `file_store_path = "gs://mybucket"` * `profile_last_generated < "2025-01-01T00:00:00.000Z"` The length of this field should be no more than 500 characters. + * Optional. Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field\} {operator\} {value\}`. * Supported fields: - `project_id`: The Google Cloud project ID - `account_id`: The AWS account ID - `file_store_path`: The path like "gs://bucket" - `data_source_type`: The profile's data source type, like "google/storage/bucket" - `data_storage_location`: The location where the file store's data is stored, like "us-central1" - `sensitivity_level`: HIGH|MODERATE|LOW - `data_risk_level`: HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC|RESTRICTED - `status_code`: an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto - `profile_last_generated`: Date and time the profile was last generated * The operator must be `=` or `!=`. The `profile_last_generated` filter also supports `<` and `\>`. The syntax is based on https://google.aip.dev/160. Examples: * `project_id = 12345 AND status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH` * `project_id = 12345 AND resource_visibility = PUBLIC` * `file_store_path = "gs://mybucket"` * `profile_last_generated < "2025-01-01T00:00:00.000Z"` The length of this field should be no more than 500 characters. */ filter?: string; /** @@ -12927,7 +12927,7 @@ export namespace dlp_v2 { * * // Do the magic * const res = await dlp.organizations.locations.jobTriggers.list({ - * // Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field\} {operator\} {value\}`. * Supported fields/values for inspect triggers: - `status` - HEALTHY|PAUSED|CANCELLED - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by quotation marks. Nanoseconds are ignored. - 'error_count' - Number of errors that have occurred while running. * The operator must be `=` or `!=` for status and inspected_storage. Examples: * inspected_storage = cloud_storage AND status = HEALTHY * inspected_storage = cloud_storage OR inspected_storage = bigquery * inspected_storage = cloud_storage AND (state = PAUSED OR state = HEALTHY) * last_run_time \> \"2017-12-12T00:00:00+00:00\" The length of this field should be no more than 500 characters. + * // Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field\} {operator\} {value\}`. * Supported fields/values for inspect triggers: - `status` - HEALTHY|PAUSED|CANCELLED - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by quotation marks. Nanoseconds are ignored. - 'error_count' - Number of errors that have occurred while running. * The operator must be `=` or `!=` for status and inspected_storage. The syntax is based on https://google.aip.dev/160. Examples: * inspected_storage = cloud_storage AND status = HEALTHY * inspected_storage = cloud_storage OR inspected_storage = bigquery * inspected_storage = cloud_storage AND (state = PAUSED OR state = HEALTHY) * last_run_time \> \"2017-12-12T00:00:00+00:00\" The length of this field should be no more than 500 characters. * filter: 'placeholder-value', * // Deprecated. This field has no effect. * locationId: 'placeholder-value', @@ -13245,7 +13245,7 @@ export namespace dlp_v2 { export interface Params$Resource$Organizations$Locations$Jobtriggers$List extends StandardParameters { /** - * Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field\} {operator\} {value\}`. * Supported fields/values for inspect triggers: - `status` - HEALTHY|PAUSED|CANCELLED - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by quotation marks. Nanoseconds are ignored. - 'error_count' - Number of errors that have occurred while running. * The operator must be `=` or `!=` for status and inspected_storage. Examples: * inspected_storage = cloud_storage AND status = HEALTHY * inspected_storage = cloud_storage OR inspected_storage = bigquery * inspected_storage = cloud_storage AND (state = PAUSED OR state = HEALTHY) * last_run_time \> \"2017-12-12T00:00:00+00:00\" The length of this field should be no more than 500 characters. + * Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field\} {operator\} {value\}`. * Supported fields/values for inspect triggers: - `status` - HEALTHY|PAUSED|CANCELLED - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by quotation marks. Nanoseconds are ignored. - 'error_count' - Number of errors that have occurred while running. * The operator must be `=` or `!=` for status and inspected_storage. The syntax is based on https://google.aip.dev/160. Examples: * inspected_storage = cloud_storage AND status = HEALTHY * inspected_storage = cloud_storage OR inspected_storage = bigquery * inspected_storage = cloud_storage AND (state = PAUSED OR state = HEALTHY) * last_run_time \> \"2017-12-12T00:00:00+00:00\" The length of this field should be no more than 500 characters. */ filter?: string; /** @@ -13475,7 +13475,7 @@ export namespace dlp_v2 { * * // Do the magic * const res = await dlp.organizations.locations.projectDataProfiles.list({ - * // Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field\} {operator\} {value\}`. * Supported fields: - `project_id`: the Google Cloud project ID - `sensitivity_level`: HIGH|MODERATE|LOW - `data_risk_level`: HIGH|MODERATE|LOW - `status_code`: an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto - `profile_last_generated`: Date and time the profile was last generated * The operator must be `=` or `!=`. The `profile_last_generated` filter also supports `<` and `\>`. Examples: * `project_id = 12345 AND status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH` * `profile_last_generated < "2025-01-01T00:00:00.000Z"` The length of this field should be no more than 500 characters. + * // Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field\} {operator\} {value\}`. * Supported fields: - `project_id`: the Google Cloud project ID - `sensitivity_level`: HIGH|MODERATE|LOW - `data_risk_level`: HIGH|MODERATE|LOW - `status_code`: an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto - `profile_last_generated`: Date and time the profile was last generated * The operator must be `=` or `!=`. The `profile_last_generated` filter also supports `<` and `\>`. The syntax is based on https://google.aip.dev/160. Examples: * `project_id = 12345 AND status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH` * `profile_last_generated < "2025-01-01T00:00:00.000Z"` The length of this field should be no more than 500 characters. * filter: 'placeholder-value', * // Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed. Examples: * `project_id` * `sensitivity_level desc` Supported fields: - `project_id`: Google Cloud project ID - `sensitivity_level`: How sensitive the data in a project is, at most - `data_risk_level`: How much risk is associated with this data - `profile_last_generated`: Date and time (in epoch seconds) the profile was last generated * orderBy: 'placeholder-value', @@ -13612,7 +13612,7 @@ export namespace dlp_v2 { export interface Params$Resource$Organizations$Locations$Projectdataprofiles$List extends StandardParameters { /** - * Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field\} {operator\} {value\}`. * Supported fields: - `project_id`: the Google Cloud project ID - `sensitivity_level`: HIGH|MODERATE|LOW - `data_risk_level`: HIGH|MODERATE|LOW - `status_code`: an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto - `profile_last_generated`: Date and time the profile was last generated * The operator must be `=` or `!=`. The `profile_last_generated` filter also supports `<` and `\>`. Examples: * `project_id = 12345 AND status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH` * `profile_last_generated < "2025-01-01T00:00:00.000Z"` The length of this field should be no more than 500 characters. + * Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field\} {operator\} {value\}`. * Supported fields: - `project_id`: the Google Cloud project ID - `sensitivity_level`: HIGH|MODERATE|LOW - `data_risk_level`: HIGH|MODERATE|LOW - `status_code`: an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto - `profile_last_generated`: Date and time the profile was last generated * The operator must be `=` or `!=`. The `profile_last_generated` filter also supports `<` and `\>`. The syntax is based on https://google.aip.dev/160. Examples: * `project_id = 12345 AND status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH` * `profile_last_generated < "2025-01-01T00:00:00.000Z"` The length of this field should be no more than 500 characters. */ filter?: string; /** @@ -14799,7 +14799,7 @@ export namespace dlp_v2 { * * // Do the magic * const res = await dlp.organizations.locations.tableDataProfiles.list({ - * // Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field\} {operator\} {value\}`. * Supported fields: - `project_id`: The Google Cloud project ID - `dataset_id`: The BigQuery dataset ID - `table_id`: The ID of the BigQuery table - `sensitivity_level`: HIGH|MODERATE|LOW - `data_risk_level`: HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC|RESTRICTED - `status_code`: an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto - `profile_last_generated`: Date and time the profile was last generated * The operator must be `=` or `!=`. The `profile_last_generated` filter also supports `<` and `\>`. Examples: * `project_id = 12345 AND status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH` * `project_id = 12345 AND resource_visibility = PUBLIC` * `profile_last_generated < "2025-01-01T00:00:00.000Z"` The length of this field should be no more than 500 characters. + * // Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field\} {operator\} {value\}`. * Supported fields: - `project_id`: The Google Cloud project ID - `dataset_id`: The BigQuery dataset ID - `table_id`: The ID of the BigQuery table - `sensitivity_level`: HIGH|MODERATE|LOW - `data_risk_level`: HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC|RESTRICTED - `status_code`: an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto - `profile_last_generated`: Date and time the profile was last generated * The operator must be `=` or `!=`. The `profile_last_generated` filter also supports `<` and `\>`. The syntax is based on https://google.aip.dev/160. Examples: * `project_id = 12345 AND status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH` * `project_id = 12345 AND resource_visibility = PUBLIC` * `profile_last_generated < "2025-01-01T00:00:00.000Z"` The length of this field should be no more than 500 characters. * filter: 'placeholder-value', * // Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed. Examples: * `project_id asc` * `table_id` * `sensitivity_level desc` Supported fields are: - `project_id`: The Google Cloud project ID. - `dataset_id`: The ID of a BigQuery dataset. - `table_id`: The ID of a BigQuery table. - `sensitivity_level`: How sensitive the data in a table is, at most. - `data_risk_level`: How much risk is associated with this data. - `profile_last_generated`: When the profile was last updated in epoch seconds. - `last_modified`: The last time the resource was modified. - `resource_visibility`: Visibility restriction for this resource. - `row_count`: Number of rows in this resource. * orderBy: 'placeholder-value', @@ -14943,7 +14943,7 @@ export namespace dlp_v2 { export interface Params$Resource$Organizations$Locations$Tabledataprofiles$List extends StandardParameters { /** - * Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field\} {operator\} {value\}`. * Supported fields: - `project_id`: The Google Cloud project ID - `dataset_id`: The BigQuery dataset ID - `table_id`: The ID of the BigQuery table - `sensitivity_level`: HIGH|MODERATE|LOW - `data_risk_level`: HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC|RESTRICTED - `status_code`: an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto - `profile_last_generated`: Date and time the profile was last generated * The operator must be `=` or `!=`. The `profile_last_generated` filter also supports `<` and `\>`. Examples: * `project_id = 12345 AND status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH` * `project_id = 12345 AND resource_visibility = PUBLIC` * `profile_last_generated < "2025-01-01T00:00:00.000Z"` The length of this field should be no more than 500 characters. + * Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field\} {operator\} {value\}`. * Supported fields: - `project_id`: The Google Cloud project ID - `dataset_id`: The BigQuery dataset ID - `table_id`: The ID of the BigQuery table - `sensitivity_level`: HIGH|MODERATE|LOW - `data_risk_level`: HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC|RESTRICTED - `status_code`: an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto - `profile_last_generated`: Date and time the profile was last generated * The operator must be `=` or `!=`. The `profile_last_generated` filter also supports `<` and `\>`. The syntax is based on https://google.aip.dev/160. Examples: * `project_id = 12345 AND status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH` * `project_id = 12345 AND resource_visibility = PUBLIC` * `profile_last_generated < "2025-01-01T00:00:00.000Z"` The length of this field should be no more than 500 characters. */ filter?: string; /** @@ -17777,7 +17777,7 @@ export namespace dlp_v2 { * * // Do the magic * const res = await dlp.projects.dlpJobs.list({ - * // Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field\} {operator\} {value\}`. * Supported fields/values for inspect jobs: - `state` - PENDING|RUNNING|CANCELED|FINISHED|FAILED - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY - `trigger_name` - The name of the trigger that created the job. - 'end_time` - Corresponds to the time the job finished. - 'start_time` - Corresponds to the time the job finished. * Supported fields for risk analysis jobs: - `state` - RUNNING|CANCELED|FINISHED|FAILED - 'end_time` - Corresponds to the time the job finished. - 'start_time` - Corresponds to the time the job finished. * The operator must be `=` or `!=`. Examples: * inspected_storage = cloud_storage AND state = done * inspected_storage = cloud_storage OR inspected_storage = bigquery * inspected_storage = cloud_storage AND (state = done OR state = canceled) * end_time \> \"2017-12-12T00:00:00+00:00\" The length of this field should be no more than 500 characters. + * // Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field\} {operator\} {value\}`. * Supported fields/values for inspect jobs: - `state` - PENDING|RUNNING|CANCELED|FINISHED|FAILED - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY - `trigger_name` - The name of the trigger that created the job. - 'end_time` - Corresponds to the time the job finished. - 'start_time` - Corresponds to the time the job finished. * Supported fields for risk analysis jobs: - `state` - RUNNING|CANCELED|FINISHED|FAILED - 'end_time` - Corresponds to the time the job finished. - 'start_time` - Corresponds to the time the job finished. * The operator must be `=` or `!=`. The syntax is based on https://google.aip.dev/160. Examples: * inspected_storage = cloud_storage AND state = done * inspected_storage = cloud_storage OR inspected_storage = bigquery * inspected_storage = cloud_storage AND (state = done OR state = canceled) * end_time \> \"2017-12-12T00:00:00+00:00\" The length of this field should be no more than 500 characters. * filter: 'placeholder-value', * // Deprecated. This field has no effect. * locationId: 'placeholder-value', @@ -17948,7 +17948,7 @@ export namespace dlp_v2 { export interface Params$Resource$Projects$Dlpjobs$List extends StandardParameters { /** - * Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field\} {operator\} {value\}`. * Supported fields/values for inspect jobs: - `state` - PENDING|RUNNING|CANCELED|FINISHED|FAILED - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY - `trigger_name` - The name of the trigger that created the job. - 'end_time` - Corresponds to the time the job finished. - 'start_time` - Corresponds to the time the job finished. * Supported fields for risk analysis jobs: - `state` - RUNNING|CANCELED|FINISHED|FAILED - 'end_time` - Corresponds to the time the job finished. - 'start_time` - Corresponds to the time the job finished. * The operator must be `=` or `!=`. Examples: * inspected_storage = cloud_storage AND state = done * inspected_storage = cloud_storage OR inspected_storage = bigquery * inspected_storage = cloud_storage AND (state = done OR state = canceled) * end_time \> \"2017-12-12T00:00:00+00:00\" The length of this field should be no more than 500 characters. + * Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field\} {operator\} {value\}`. * Supported fields/values for inspect jobs: - `state` - PENDING|RUNNING|CANCELED|FINISHED|FAILED - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY - `trigger_name` - The name of the trigger that created the job. - 'end_time` - Corresponds to the time the job finished. - 'start_time` - Corresponds to the time the job finished. * Supported fields for risk analysis jobs: - `state` - RUNNING|CANCELED|FINISHED|FAILED - 'end_time` - Corresponds to the time the job finished. - 'start_time` - Corresponds to the time the job finished. * The operator must be `=` or `!=`. The syntax is based on https://google.aip.dev/160. Examples: * inspected_storage = cloud_storage AND state = done * inspected_storage = cloud_storage OR inspected_storage = bigquery * inspected_storage = cloud_storage AND (state = done OR state = canceled) * end_time \> \"2017-12-12T00:00:00+00:00\" The length of this field should be no more than 500 characters. */ filter?: string; /** @@ -19624,7 +19624,7 @@ export namespace dlp_v2 { * * // Do the magic * const res = await dlp.projects.jobTriggers.list({ - * // Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field\} {operator\} {value\}`. * Supported fields/values for inspect triggers: - `status` - HEALTHY|PAUSED|CANCELLED - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by quotation marks. Nanoseconds are ignored. - 'error_count' - Number of errors that have occurred while running. * The operator must be `=` or `!=` for status and inspected_storage. Examples: * inspected_storage = cloud_storage AND status = HEALTHY * inspected_storage = cloud_storage OR inspected_storage = bigquery * inspected_storage = cloud_storage AND (state = PAUSED OR state = HEALTHY) * last_run_time \> \"2017-12-12T00:00:00+00:00\" The length of this field should be no more than 500 characters. + * // Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field\} {operator\} {value\}`. * Supported fields/values for inspect triggers: - `status` - HEALTHY|PAUSED|CANCELLED - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by quotation marks. Nanoseconds are ignored. - 'error_count' - Number of errors that have occurred while running. * The operator must be `=` or `!=` for status and inspected_storage. The syntax is based on https://google.aip.dev/160. Examples: * inspected_storage = cloud_storage AND status = HEALTHY * inspected_storage = cloud_storage OR inspected_storage = bigquery * inspected_storage = cloud_storage AND (state = PAUSED OR state = HEALTHY) * last_run_time \> \"2017-12-12T00:00:00+00:00\" The length of this field should be no more than 500 characters. * filter: 'placeholder-value', * // Deprecated. This field has no effect. * locationId: 'placeholder-value', @@ -19953,7 +19953,7 @@ export namespace dlp_v2 { export interface Params$Resource$Projects$Jobtriggers$List extends StandardParameters { /** - * Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field\} {operator\} {value\}`. * Supported fields/values for inspect triggers: - `status` - HEALTHY|PAUSED|CANCELLED - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by quotation marks. Nanoseconds are ignored. - 'error_count' - Number of errors that have occurred while running. * The operator must be `=` or `!=` for status and inspected_storage. Examples: * inspected_storage = cloud_storage AND status = HEALTHY * inspected_storage = cloud_storage OR inspected_storage = bigquery * inspected_storage = cloud_storage AND (state = PAUSED OR state = HEALTHY) * last_run_time \> \"2017-12-12T00:00:00+00:00\" The length of this field should be no more than 500 characters. + * Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field\} {operator\} {value\}`. * Supported fields/values for inspect triggers: - `status` - HEALTHY|PAUSED|CANCELLED - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by quotation marks. Nanoseconds are ignored. - 'error_count' - Number of errors that have occurred while running. * The operator must be `=` or `!=` for status and inspected_storage. The syntax is based on https://google.aip.dev/160. Examples: * inspected_storage = cloud_storage AND status = HEALTHY * inspected_storage = cloud_storage OR inspected_storage = bigquery * inspected_storage = cloud_storage AND (state = PAUSED OR state = HEALTHY) * last_run_time \> \"2017-12-12T00:00:00+00:00\" The length of this field should be no more than 500 characters. */ filter?: string; /** @@ -20245,7 +20245,7 @@ export namespace dlp_v2 { * * // Do the magic * const res = await dlp.projects.locations.columnDataProfiles.list({ - * // Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field\} {operator\} {value\}`. * Supported fields: - `table_data_profile_name`: The name of the related table data profile - `project_id`: The Google Cloud project ID (REQUIRED) - `dataset_id`: The BigQuery dataset ID (REQUIRED) - `table_id`: The BigQuery table ID (REQUIRED) - `field_id`: The ID of the BigQuery field - `info_type`: The infotype detected in the resource - `sensitivity_level`: HIGH|MEDIUM|LOW - `data_risk_level`: How much risk is associated with this data - `status_code`: An RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto - `profile_last_generated`: Date and time the profile was last generated * The operator must be `=` for project_id, dataset_id, and table_id. Other filters also support `!=`. The `profile_last_generated` filter also supports `<` and `\>`. Examples: * project_id = 12345 AND status_code = 1 * project_id = 12345 AND sensitivity_level = HIGH * project_id = 12345 AND info_type = STREET_ADDRESS * profile_last_generated < "2025-01-01T00:00:00.000Z" The length of this field should be no more than 500 characters. + * // Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field\} {operator\} {value\}`. * Supported fields: - `table_data_profile_name`: The name of the related table data profile - `project_id`: The Google Cloud project ID (REQUIRED) - `dataset_id`: The BigQuery dataset ID (REQUIRED) - `table_id`: The BigQuery table ID (REQUIRED) - `field_id`: The ID of the BigQuery field - `info_type`: The infotype detected in the resource - `sensitivity_level`: HIGH|MEDIUM|LOW - `data_risk_level`: How much risk is associated with this data - `status_code`: An RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto - `profile_last_generated`: Date and time the profile was last generated * The operator must be `=` for project_id, dataset_id, and table_id. Other filters also support `!=`. The `profile_last_generated` filter also supports `<` and `\>`. The syntax is based on https://google.aip.dev/160. Examples: * project_id = 12345 AND status_code = 1 * project_id = 12345 AND sensitivity_level = HIGH * project_id = 12345 AND info_type = STREET_ADDRESS * profile_last_generated < "2025-01-01T00:00:00.000Z" The length of this field should be no more than 500 characters. * filter: 'placeholder-value', * // Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed. Examples: * `project_id asc` * `table_id` * `sensitivity_level desc` Supported fields are: - `project_id`: The Google Cloud project ID. - `dataset_id`: The ID of a BigQuery dataset. - `table_id`: The ID of a BigQuery table. - `sensitivity_level`: How sensitive the data in a column is, at most. - `data_risk_level`: How much risk is associated with this data. - `profile_last_generated`: When the profile was last updated in epoch seconds. * orderBy: 'placeholder-value', @@ -20382,7 +20382,7 @@ export namespace dlp_v2 { export interface Params$Resource$Projects$Locations$Columndataprofiles$List extends StandardParameters { /** - * Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field\} {operator\} {value\}`. * Supported fields: - `table_data_profile_name`: The name of the related table data profile - `project_id`: The Google Cloud project ID (REQUIRED) - `dataset_id`: The BigQuery dataset ID (REQUIRED) - `table_id`: The BigQuery table ID (REQUIRED) - `field_id`: The ID of the BigQuery field - `info_type`: The infotype detected in the resource - `sensitivity_level`: HIGH|MEDIUM|LOW - `data_risk_level`: How much risk is associated with this data - `status_code`: An RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto - `profile_last_generated`: Date and time the profile was last generated * The operator must be `=` for project_id, dataset_id, and table_id. Other filters also support `!=`. The `profile_last_generated` filter also supports `<` and `\>`. Examples: * project_id = 12345 AND status_code = 1 * project_id = 12345 AND sensitivity_level = HIGH * project_id = 12345 AND info_type = STREET_ADDRESS * profile_last_generated < "2025-01-01T00:00:00.000Z" The length of this field should be no more than 500 characters. + * Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field\} {operator\} {value\}`. * Supported fields: - `table_data_profile_name`: The name of the related table data profile - `project_id`: The Google Cloud project ID (REQUIRED) - `dataset_id`: The BigQuery dataset ID (REQUIRED) - `table_id`: The BigQuery table ID (REQUIRED) - `field_id`: The ID of the BigQuery field - `info_type`: The infotype detected in the resource - `sensitivity_level`: HIGH|MEDIUM|LOW - `data_risk_level`: How much risk is associated with this data - `status_code`: An RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto - `profile_last_generated`: Date and time the profile was last generated * The operator must be `=` for project_id, dataset_id, and table_id. Other filters also support `!=`. The `profile_last_generated` filter also supports `<` and `\>`. The syntax is based on https://google.aip.dev/160. Examples: * project_id = 12345 AND status_code = 1 * project_id = 12345 AND sensitivity_level = HIGH * project_id = 12345 AND info_type = STREET_ADDRESS * profile_last_generated < "2025-01-01T00:00:00.000Z" The length of this field should be no more than 500 characters. */ filter?: string; /** @@ -20869,7 +20869,7 @@ export namespace dlp_v2 { * * // Do the magic * const res = await dlp.projects.locations.connections.list({ - * // Optional. Supported field/value: `state` - MISSING|AVAILABLE|ERROR + * // Optional. Supported field/value: `state` - MISSING|AVAILABLE|ERROR The syntax is based on https://google.aip.dev/160. * filter: 'placeholder-value', * // Optional. Number of results per page, max 1000. * pageSize: 'placeholder-value', @@ -21175,7 +21175,7 @@ export namespace dlp_v2 { * * // Do the magic * const res = await dlp.projects.locations.connections.search({ - * // Optional. Supported field/value: - `state` - MISSING|AVAILABLE|ERROR + * // Optional. Supported field/value: - `state` - MISSING|AVAILABLE|ERROR The syntax is based on https://google.aip.dev/160. * filter: 'placeholder-value', * // Optional. Number of results per page, max 1000. * pageSize: 'placeholder-value', @@ -21328,7 +21328,7 @@ export namespace dlp_v2 { export interface Params$Resource$Projects$Locations$Connections$List extends StandardParameters { /** - * Optional. Supported field/value: `state` - MISSING|AVAILABLE|ERROR + * Optional. Supported field/value: `state` - MISSING|AVAILABLE|ERROR The syntax is based on https://google.aip.dev/160. */ filter?: string; /** @@ -21359,7 +21359,7 @@ export namespace dlp_v2 { export interface Params$Resource$Projects$Locations$Connections$Search extends StandardParameters { /** - * Optional. Supported field/value: - `state` - MISSING|AVAILABLE|ERROR + * Optional. Supported field/value: - `state` - MISSING|AVAILABLE|ERROR The syntax is based on https://google.aip.dev/160. */ filter?: string; /** @@ -24482,7 +24482,7 @@ export namespace dlp_v2 { * * // Do the magic * const res = await dlp.projects.locations.dlpJobs.list({ - * // Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field\} {operator\} {value\}`. * Supported fields/values for inspect jobs: - `state` - PENDING|RUNNING|CANCELED|FINISHED|FAILED - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY - `trigger_name` - The name of the trigger that created the job. - 'end_time` - Corresponds to the time the job finished. - 'start_time` - Corresponds to the time the job finished. * Supported fields for risk analysis jobs: - `state` - RUNNING|CANCELED|FINISHED|FAILED - 'end_time` - Corresponds to the time the job finished. - 'start_time` - Corresponds to the time the job finished. * The operator must be `=` or `!=`. Examples: * inspected_storage = cloud_storage AND state = done * inspected_storage = cloud_storage OR inspected_storage = bigquery * inspected_storage = cloud_storage AND (state = done OR state = canceled) * end_time \> \"2017-12-12T00:00:00+00:00\" The length of this field should be no more than 500 characters. + * // Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field\} {operator\} {value\}`. * Supported fields/values for inspect jobs: - `state` - PENDING|RUNNING|CANCELED|FINISHED|FAILED - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY - `trigger_name` - The name of the trigger that created the job. - 'end_time` - Corresponds to the time the job finished. - 'start_time` - Corresponds to the time the job finished. * Supported fields for risk analysis jobs: - `state` - RUNNING|CANCELED|FINISHED|FAILED - 'end_time` - Corresponds to the time the job finished. - 'start_time` - Corresponds to the time the job finished. * The operator must be `=` or `!=`. The syntax is based on https://google.aip.dev/160. Examples: * inspected_storage = cloud_storage AND state = done * inspected_storage = cloud_storage OR inspected_storage = bigquery * inspected_storage = cloud_storage AND (state = done OR state = canceled) * end_time \> \"2017-12-12T00:00:00+00:00\" The length of this field should be no more than 500 characters. * filter: 'placeholder-value', * // Deprecated. This field has no effect. * locationId: 'placeholder-value', @@ -24677,7 +24677,7 @@ export namespace dlp_v2 { export interface Params$Resource$Projects$Locations$Dlpjobs$List extends StandardParameters { /** - * Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field\} {operator\} {value\}`. * Supported fields/values for inspect jobs: - `state` - PENDING|RUNNING|CANCELED|FINISHED|FAILED - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY - `trigger_name` - The name of the trigger that created the job. - 'end_time` - Corresponds to the time the job finished. - 'start_time` - Corresponds to the time the job finished. * Supported fields for risk analysis jobs: - `state` - RUNNING|CANCELED|FINISHED|FAILED - 'end_time` - Corresponds to the time the job finished. - 'start_time` - Corresponds to the time the job finished. * The operator must be `=` or `!=`. Examples: * inspected_storage = cloud_storage AND state = done * inspected_storage = cloud_storage OR inspected_storage = bigquery * inspected_storage = cloud_storage AND (state = done OR state = canceled) * end_time \> \"2017-12-12T00:00:00+00:00\" The length of this field should be no more than 500 characters. + * Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field\} {operator\} {value\}`. * Supported fields/values for inspect jobs: - `state` - PENDING|RUNNING|CANCELED|FINISHED|FAILED - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY - `trigger_name` - The name of the trigger that created the job. - 'end_time` - Corresponds to the time the job finished. - 'start_time` - Corresponds to the time the job finished. * Supported fields for risk analysis jobs: - `state` - RUNNING|CANCELED|FINISHED|FAILED - 'end_time` - Corresponds to the time the job finished. - 'start_time` - Corresponds to the time the job finished. * The operator must be `=` or `!=`. The syntax is based on https://google.aip.dev/160. Examples: * inspected_storage = cloud_storage AND state = done * inspected_storage = cloud_storage OR inspected_storage = bigquery * inspected_storage = cloud_storage AND (state = done OR state = canceled) * end_time \> \"2017-12-12T00:00:00+00:00\" The length of this field should be no more than 500 characters. */ filter?: string; /** @@ -25047,7 +25047,7 @@ export namespace dlp_v2 { * * // Do the magic * const res = await dlp.projects.locations.fileStoreDataProfiles.list({ - * // Optional. Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field\} {operator\} {value\}`. * Supported fields: - `project_id`: The Google Cloud project ID - `account_id`: The AWS account ID - `file_store_path`: The path like "gs://bucket" - `data_source_type`: The profile's data source type, like "google/storage/bucket" - `data_storage_location`: The location where the file store's data is stored, like "us-central1" - `sensitivity_level`: HIGH|MODERATE|LOW - `data_risk_level`: HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC|RESTRICTED - `status_code`: an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto - `profile_last_generated`: Date and time the profile was last generated * The operator must be `=` or `!=`. The `profile_last_generated` filter also supports `<` and `\>`. Examples: * `project_id = 12345 AND status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH` * `project_id = 12345 AND resource_visibility = PUBLIC` * `file_store_path = "gs://mybucket"` * `profile_last_generated < "2025-01-01T00:00:00.000Z"` The length of this field should be no more than 500 characters. + * // Optional. Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field\} {operator\} {value\}`. * Supported fields: - `project_id`: The Google Cloud project ID - `account_id`: The AWS account ID - `file_store_path`: The path like "gs://bucket" - `data_source_type`: The profile's data source type, like "google/storage/bucket" - `data_storage_location`: The location where the file store's data is stored, like "us-central1" - `sensitivity_level`: HIGH|MODERATE|LOW - `data_risk_level`: HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC|RESTRICTED - `status_code`: an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto - `profile_last_generated`: Date and time the profile was last generated * The operator must be `=` or `!=`. The `profile_last_generated` filter also supports `<` and `\>`. The syntax is based on https://google.aip.dev/160. Examples: * `project_id = 12345 AND status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH` * `project_id = 12345 AND resource_visibility = PUBLIC` * `file_store_path = "gs://mybucket"` * `profile_last_generated < "2025-01-01T00:00:00.000Z"` The length of this field should be no more than 500 characters. * filter: 'placeholder-value', * // Optional. Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed. Examples: * `project_id asc` * `name` * `sensitivity_level desc` Supported fields are: - `project_id`: The Google Cloud project ID. - `sensitivity_level`: How sensitive the data in a table is, at most. - `data_risk_level`: How much risk is associated with this data. - `profile_last_generated`: When the profile was last updated in epoch seconds. - `last_modified`: The last time the resource was modified. - `resource_visibility`: Visibility restriction for this resource. - `name`: The name of the profile. - `create_time`: The time the file store was first created. * orderBy: 'placeholder-value', @@ -25191,7 +25191,7 @@ export namespace dlp_v2 { export interface Params$Resource$Projects$Locations$Filestoredataprofiles$List extends StandardParameters { /** - * Optional. Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field\} {operator\} {value\}`. * Supported fields: - `project_id`: The Google Cloud project ID - `account_id`: The AWS account ID - `file_store_path`: The path like "gs://bucket" - `data_source_type`: The profile's data source type, like "google/storage/bucket" - `data_storage_location`: The location where the file store's data is stored, like "us-central1" - `sensitivity_level`: HIGH|MODERATE|LOW - `data_risk_level`: HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC|RESTRICTED - `status_code`: an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto - `profile_last_generated`: Date and time the profile was last generated * The operator must be `=` or `!=`. The `profile_last_generated` filter also supports `<` and `\>`. Examples: * `project_id = 12345 AND status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH` * `project_id = 12345 AND resource_visibility = PUBLIC` * `file_store_path = "gs://mybucket"` * `profile_last_generated < "2025-01-01T00:00:00.000Z"` The length of this field should be no more than 500 characters. + * Optional. Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field\} {operator\} {value\}`. * Supported fields: - `project_id`: The Google Cloud project ID - `account_id`: The AWS account ID - `file_store_path`: The path like "gs://bucket" - `data_source_type`: The profile's data source type, like "google/storage/bucket" - `data_storage_location`: The location where the file store's data is stored, like "us-central1" - `sensitivity_level`: HIGH|MODERATE|LOW - `data_risk_level`: HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC|RESTRICTED - `status_code`: an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto - `profile_last_generated`: Date and time the profile was last generated * The operator must be `=` or `!=`. The `profile_last_generated` filter also supports `<` and `\>`. The syntax is based on https://google.aip.dev/160. Examples: * `project_id = 12345 AND status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH` * `project_id = 12345 AND resource_visibility = PUBLIC` * `file_store_path = "gs://mybucket"` * `profile_last_generated < "2025-01-01T00:00:00.000Z"` The length of this field should be no more than 500 characters. */ filter?: string; /** @@ -27196,7 +27196,7 @@ export namespace dlp_v2 { * * // Do the magic * const res = await dlp.projects.locations.jobTriggers.list({ - * // Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field\} {operator\} {value\}`. * Supported fields/values for inspect triggers: - `status` - HEALTHY|PAUSED|CANCELLED - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by quotation marks. Nanoseconds are ignored. - 'error_count' - Number of errors that have occurred while running. * The operator must be `=` or `!=` for status and inspected_storage. Examples: * inspected_storage = cloud_storage AND status = HEALTHY * inspected_storage = cloud_storage OR inspected_storage = bigquery * inspected_storage = cloud_storage AND (state = PAUSED OR state = HEALTHY) * last_run_time \> \"2017-12-12T00:00:00+00:00\" The length of this field should be no more than 500 characters. + * // Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field\} {operator\} {value\}`. * Supported fields/values for inspect triggers: - `status` - HEALTHY|PAUSED|CANCELLED - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by quotation marks. Nanoseconds are ignored. - 'error_count' - Number of errors that have occurred while running. * The operator must be `=` or `!=` for status and inspected_storage. The syntax is based on https://google.aip.dev/160. Examples: * inspected_storage = cloud_storage AND status = HEALTHY * inspected_storage = cloud_storage OR inspected_storage = bigquery * inspected_storage = cloud_storage AND (state = PAUSED OR state = HEALTHY) * last_run_time \> \"2017-12-12T00:00:00+00:00\" The length of this field should be no more than 500 characters. * filter: 'placeholder-value', * // Deprecated. This field has no effect. * locationId: 'placeholder-value', @@ -27537,7 +27537,7 @@ export namespace dlp_v2 { export interface Params$Resource$Projects$Locations$Jobtriggers$List extends StandardParameters { /** - * Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field\} {operator\} {value\}`. * Supported fields/values for inspect triggers: - `status` - HEALTHY|PAUSED|CANCELLED - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by quotation marks. Nanoseconds are ignored. - 'error_count' - Number of errors that have occurred while running. * The operator must be `=` or `!=` for status and inspected_storage. Examples: * inspected_storage = cloud_storage AND status = HEALTHY * inspected_storage = cloud_storage OR inspected_storage = bigquery * inspected_storage = cloud_storage AND (state = PAUSED OR state = HEALTHY) * last_run_time \> \"2017-12-12T00:00:00+00:00\" The length of this field should be no more than 500 characters. + * Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field\} {operator\} {value\}`. * Supported fields/values for inspect triggers: - `status` - HEALTHY|PAUSED|CANCELLED - `inspected_storage` - DATASTORE|CLOUD_STORAGE|BIGQUERY - 'last_run_time` - RFC 3339 formatted timestamp, surrounded by quotation marks. Nanoseconds are ignored. - 'error_count' - Number of errors that have occurred while running. * The operator must be `=` or `!=` for status and inspected_storage. The syntax is based on https://google.aip.dev/160. Examples: * inspected_storage = cloud_storage AND status = HEALTHY * inspected_storage = cloud_storage OR inspected_storage = bigquery * inspected_storage = cloud_storage AND (state = PAUSED OR state = HEALTHY) * last_run_time \> \"2017-12-12T00:00:00+00:00\" The length of this field should be no more than 500 characters. */ filter?: string; /** @@ -27767,7 +27767,7 @@ export namespace dlp_v2 { * * // Do the magic * const res = await dlp.projects.locations.projectDataProfiles.list({ - * // Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field\} {operator\} {value\}`. * Supported fields: - `project_id`: the Google Cloud project ID - `sensitivity_level`: HIGH|MODERATE|LOW - `data_risk_level`: HIGH|MODERATE|LOW - `status_code`: an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto - `profile_last_generated`: Date and time the profile was last generated * The operator must be `=` or `!=`. The `profile_last_generated` filter also supports `<` and `\>`. Examples: * `project_id = 12345 AND status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH` * `profile_last_generated < "2025-01-01T00:00:00.000Z"` The length of this field should be no more than 500 characters. + * // Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field\} {operator\} {value\}`. * Supported fields: - `project_id`: the Google Cloud project ID - `sensitivity_level`: HIGH|MODERATE|LOW - `data_risk_level`: HIGH|MODERATE|LOW - `status_code`: an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto - `profile_last_generated`: Date and time the profile was last generated * The operator must be `=` or `!=`. The `profile_last_generated` filter also supports `<` and `\>`. The syntax is based on https://google.aip.dev/160. Examples: * `project_id = 12345 AND status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH` * `profile_last_generated < "2025-01-01T00:00:00.000Z"` The length of this field should be no more than 500 characters. * filter: 'placeholder-value', * // Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed. Examples: * `project_id` * `sensitivity_level desc` Supported fields: - `project_id`: Google Cloud project ID - `sensitivity_level`: How sensitive the data in a project is, at most - `data_risk_level`: How much risk is associated with this data - `profile_last_generated`: Date and time (in epoch seconds) the profile was last generated * orderBy: 'placeholder-value', @@ -27904,7 +27904,7 @@ export namespace dlp_v2 { export interface Params$Resource$Projects$Locations$Projectdataprofiles$List extends StandardParameters { /** - * Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field\} {operator\} {value\}`. * Supported fields: - `project_id`: the Google Cloud project ID - `sensitivity_level`: HIGH|MODERATE|LOW - `data_risk_level`: HIGH|MODERATE|LOW - `status_code`: an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto - `profile_last_generated`: Date and time the profile was last generated * The operator must be `=` or `!=`. The `profile_last_generated` filter also supports `<` and `\>`. Examples: * `project_id = 12345 AND status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH` * `profile_last_generated < "2025-01-01T00:00:00.000Z"` The length of this field should be no more than 500 characters. + * Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field\} {operator\} {value\}`. * Supported fields: - `project_id`: the Google Cloud project ID - `sensitivity_level`: HIGH|MODERATE|LOW - `data_risk_level`: HIGH|MODERATE|LOW - `status_code`: an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto - `profile_last_generated`: Date and time the profile was last generated * The operator must be `=` or `!=`. The `profile_last_generated` filter also supports `<` and `\>`. The syntax is based on https://google.aip.dev/160. Examples: * `project_id = 12345 AND status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH` * `profile_last_generated < "2025-01-01T00:00:00.000Z"` The length of this field should be no more than 500 characters. */ filter?: string; /** @@ -29087,7 +29087,7 @@ export namespace dlp_v2 { * * // Do the magic * const res = await dlp.projects.locations.tableDataProfiles.list({ - * // Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field\} {operator\} {value\}`. * Supported fields: - `project_id`: The Google Cloud project ID - `dataset_id`: The BigQuery dataset ID - `table_id`: The ID of the BigQuery table - `sensitivity_level`: HIGH|MODERATE|LOW - `data_risk_level`: HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC|RESTRICTED - `status_code`: an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto - `profile_last_generated`: Date and time the profile was last generated * The operator must be `=` or `!=`. The `profile_last_generated` filter also supports `<` and `\>`. Examples: * `project_id = 12345 AND status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH` * `project_id = 12345 AND resource_visibility = PUBLIC` * `profile_last_generated < "2025-01-01T00:00:00.000Z"` The length of this field should be no more than 500 characters. + * // Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field\} {operator\} {value\}`. * Supported fields: - `project_id`: The Google Cloud project ID - `dataset_id`: The BigQuery dataset ID - `table_id`: The ID of the BigQuery table - `sensitivity_level`: HIGH|MODERATE|LOW - `data_risk_level`: HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC|RESTRICTED - `status_code`: an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto - `profile_last_generated`: Date and time the profile was last generated * The operator must be `=` or `!=`. The `profile_last_generated` filter also supports `<` and `\>`. The syntax is based on https://google.aip.dev/160. Examples: * `project_id = 12345 AND status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH` * `project_id = 12345 AND resource_visibility = PUBLIC` * `profile_last_generated < "2025-01-01T00:00:00.000Z"` The length of this field should be no more than 500 characters. * filter: 'placeholder-value', * // Comma-separated list of fields to order by, followed by `asc` or `desc` postfix. This list is case insensitive. The default sorting order is ascending. Redundant space characters are insignificant. Only one order field at a time is allowed. Examples: * `project_id asc` * `table_id` * `sensitivity_level desc` Supported fields are: - `project_id`: The Google Cloud project ID. - `dataset_id`: The ID of a BigQuery dataset. - `table_id`: The ID of a BigQuery table. - `sensitivity_level`: How sensitive the data in a table is, at most. - `data_risk_level`: How much risk is associated with this data. - `profile_last_generated`: When the profile was last updated in epoch seconds. - `last_modified`: The last time the resource was modified. - `resource_visibility`: Visibility restriction for this resource. - `row_count`: Number of rows in this resource. * orderBy: 'placeholder-value', @@ -29231,7 +29231,7 @@ export namespace dlp_v2 { export interface Params$Resource$Projects$Locations$Tabledataprofiles$List extends StandardParameters { /** - * Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field\} {operator\} {value\}`. * Supported fields: - `project_id`: The Google Cloud project ID - `dataset_id`: The BigQuery dataset ID - `table_id`: The ID of the BigQuery table - `sensitivity_level`: HIGH|MODERATE|LOW - `data_risk_level`: HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC|RESTRICTED - `status_code`: an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto - `profile_last_generated`: Date and time the profile was last generated * The operator must be `=` or `!=`. The `profile_last_generated` filter also supports `<` and `\>`. Examples: * `project_id = 12345 AND status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH` * `project_id = 12345 AND resource_visibility = PUBLIC` * `profile_last_generated < "2025-01-01T00:00:00.000Z"` The length of this field should be no more than 500 characters. + * Allows filtering. Supported syntax: * Filter expressions are made up of one or more restrictions. * Restrictions can be combined by `AND` or `OR` logical operators. A sequence of restrictions implicitly uses `AND`. * A restriction has the form of `{field\} {operator\} {value\}`. * Supported fields: - `project_id`: The Google Cloud project ID - `dataset_id`: The BigQuery dataset ID - `table_id`: The ID of the BigQuery table - `sensitivity_level`: HIGH|MODERATE|LOW - `data_risk_level`: HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC|RESTRICTED - `status_code`: an RPC status code as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto - `profile_last_generated`: Date and time the profile was last generated * The operator must be `=` or `!=`. The `profile_last_generated` filter also supports `<` and `\>`. The syntax is based on https://google.aip.dev/160. Examples: * `project_id = 12345 AND status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH` * `project_id = 12345 AND resource_visibility = PUBLIC` * `profile_last_generated < "2025-01-01T00:00:00.000Z"` The length of this field should be no more than 500 characters. */ filter?: string; /** diff --git a/src/apis/docs/v1.ts b/src/apis/docs/v1.ts index 8a7f798ad66..1499b777b8b 100644 --- a/src/apis/docs/v1.ts +++ b/src/apis/docs/v1.ts @@ -3195,6 +3195,10 @@ export namespace docs_v1 { * Properties of a tab. */ export interface Schema$TabProperties { + /** + * Optional. The emoji icon displayed with the tab. A valid emoji icon is represented by a non-empty Unicode string. Any set of characters that don't represent a single emoji is invalid. If an emoji is invalid, a 400 bad request error is returned. If this value is unset or empty, the tab will display the default tab icon. + */ + iconEmoji?: string | null; /** * The zero-based index of the tab within the parent. */ diff --git a/src/apis/documentai/v1.ts b/src/apis/documentai/v1.ts index fdd7876c31c..50b7718b2ec 100644 --- a/src/apis/documentai/v1.ts +++ b/src/apis/documentai/v1.ts @@ -1995,6 +1995,9 @@ export namespace documentai_v1 { * Money value. See also: https://github.com/googleapis/googleapis/blob/master/google/type/money.proto */ moneyValue?: Schema$GoogleTypeMoney; + /** + * A signature - a graphical representation of a person's name, often used to sign a document. + */ signatureValue?: boolean | null; /** * Optional. An optional field to store a normalized string. For some entity types, one of respective `structured_value` fields may also be populated. Also not all the types of `structured_value` will be normalized. For example, some processors may not generate `float` or `integer` normalized text by default. Below are sample formats mapped to structured values. - Money/Currency type (`money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO 8601 text format. diff --git a/src/apis/documentai/v1beta3.ts b/src/apis/documentai/v1beta3.ts index 25080e9d410..2b39c3a64e5 100644 --- a/src/apis/documentai/v1beta3.ts +++ b/src/apis/documentai/v1beta3.ts @@ -1810,6 +1810,9 @@ export namespace documentai_v1beta3 { * Money value. See also: https://github.com/googleapis/googleapis/blob/master/google/type/money.proto */ moneyValue?: Schema$GoogleTypeMoney; + /** + * A signature - a graphical representation of a person's name, often used to sign a document. + */ signatureValue?: boolean | null; /** * Optional. An optional field to store a normalized string. For some entity types, one of respective `structured_value` fields may also be populated. Also not all the types of `structured_value` will be normalized. For example, some processors may not generate `float` or `integer` normalized text by default. Below are sample formats mapped to structured values. - Money/Currency type (`money_value`) is in the ISO 4217 text format. - Date type (`date_value`) is in the ISO 8601 text format. - Datetime type (`datetime_value`) is in the ISO 8601 text format. diff --git a/src/apis/drive/v3.ts b/src/apis/drive/v3.ts index 00d8018d1ed..90d476443d2 100644 --- a/src/apis/drive/v3.ts +++ b/src/apis/drive/v3.ts @@ -1328,7 +1328,7 @@ export namespace drive_v3 { response?: {[key: string]: any} | null; } /** - * A permission for a file. A permission grants a user, group, domain, or the world access to a file or a folder hierarchy. By default, permissions requests only return a subset of fields. Permission kind, ID, type, and role are always returned. To retrieve specific fields, see https://developers.google.com/workspace/drive/api/guides/fields-parameter. Some resource methods (such as `permissions.update`) require a `permissionId`. Use the `permissions.list` method to retrieve the ID for a file, folder, or shared drive. + * A permission for a file. A permission grants a user, group, domain, or the world access to a file or a folder hierarchy. For more information, see [Share files, folders, and drives](https://developers.google.com/workspace/drive/api/guides/manage-sharing). By default, permission requests only return a subset of fields. Permission `kind`, `ID`, `type`, and `role` are always returned. To retrieve specific fields, see [Return specific fields](https://developers.google.com/workspace/drive/api/guides/fields-parameter). Some resource methods (such as `permissions.update`) require a `permissionId`. Use the `permissions.list` method to retrieve the ID for a file, folder, or shared drive. */ export interface Schema$Permission { /** @@ -1336,11 +1336,11 @@ export namespace drive_v3 { */ allowFileDiscovery?: boolean | null; /** - * Output only. Whether the account associated with this permission has been deleted. This field only pertains to user and group permissions. + * Output only. Whether the account associated with this permission has been deleted. This field only pertains to permissions of type `user` or `group`. */ deleted?: boolean | null; /** - * Output only. The "pretty" name of the value of the permission. The following is a list of examples for each type of permission: * `user` - User's full name, as defined for their Google account, such as "Joe Smith." * `group` - Name of the Google Group, such as "The Company Administrators." * `domain` - String domain name, such as "thecompany.com." * `anyone` - No `displayName` is present. + * Output only. The "pretty" name of the value of the permission. The following is a list of examples for each type of permission: * `user` - User's full name, as defined for their Google Account, such as "Dana A." * `group` - Name of the Google Group, such as "The Company Administrators." * `domain` - String domain name, such as "cymbalgroup.com." * `anyone` - No `displayName` is present. */ displayName?: string | null; /** @@ -1356,11 +1356,11 @@ export namespace drive_v3 { */ expirationTime?: string | null; /** - * Output only. The ID of this permission. This is a unique identifier for the grantee, and is published in User resources as `permissionId`. IDs should be treated as opaque values. + * Output only. The ID of this permission. This is a unique identifier for the grantee, and is published in the [User resource](https://developers.google.com/workspace/drive/api/reference/rest/v3/User) as `permissionId`. IDs should be treated as opaque values. */ id?: string | null; /** - * When true, only organizers, owners, and users with permissions added directly on the item can access it. + * When `true`, only organizers, owners, and users with permissions added directly on the item can access it. */ inheritedPermissionsDisabled?: boolean | null; /** @@ -1368,11 +1368,11 @@ export namespace drive_v3 { */ kind?: string | null; /** - * Whether the account associated with this permission is a pending owner. Only populated for `user` type permissions for files that are not in a shared drive. + * Whether the account associated with this permission is a pending owner. Only populated for permissions of type `user` for files that aren't in a shared drive. */ pendingOwner?: boolean | null; /** - * Output only. Details of whether the permissions on this item are inherited or directly on this item. + * Output only. Details of whether the permissions on this item are inherited or are directly on this item. */ permissionDetails?: Array<{ inherited?: boolean; @@ -1385,7 +1385,7 @@ export namespace drive_v3 { */ photoLink?: string | null; /** - * The role granted by this permission. While new values may be supported in the future, the following are currently allowed: * `owner` * `organizer` * `fileOrganizer` * `writer` * `commenter` * `reader` + * The role granted by this permission. Supported values include: * `owner` * `organizer` * `fileOrganizer` * `writer` * `commenter` * `reader` For more information, see [Roles and permissions](https://developers.google.com/workspace/drive/api/guides/ref-roles). */ role?: string | null; /** @@ -1398,11 +1398,11 @@ export namespace drive_v3 { teamDrivePermissionType?: string; }> | null; /** - * The type of the grantee. Valid values are: * `user` * `group` * `domain` * `anyone` When creating a permission, if `type` is `user` or `group`, you must provide an `emailAddress` for the user or group. When `type` is `domain`, you must provide a `domain`. There isn't extra information required for an `anyone` type. + * The type of the grantee. Supported values include: * `user` * `group` * `domain` * `anyone` When creating a permission, if `type` is `user` or `group`, you must provide an `emailAddress` for the user or group. If `type` is `domain`, you must provide a `domain`. If `type` is `anyone`, no extra information is required. */ type?: string | null; /** - * Indicates the view for this permission. Only populated for permissions that belong to a view. published and metadata are the only supported values. - published: The permission's role is published_reader. - metadata: The item is only visible to the metadata view because the item has limited access and the scope has at least read access to the parent. Note: The metadata view is currently only supported on folders. + * Indicates the view for this permission. Only populated for permissions that belong to a view. The only supported values are `published` and `metadata`: * `published`: The permission's role is `publishedReader`. * `metadata`: The item is only visible to the `metadata` view because the item has limited access and the scope has at least read access to the parent. The `metadata` view is only supported on folders. For more information, see [Views](https://developers.google.com/workspace/drive/api/guides/ref-roles#views). */ view?: string | null; } @@ -1419,7 +1419,7 @@ export namespace drive_v3 { */ nextPageToken?: string | null; /** - * The list of permissions. If nextPageToken is populated, then this list may be incomplete and an additional page of results should be fetched. + * The list of permissions. If `nextPageToken` is populated, then this list may be incomplete and an additional page of results should be fetched. */ permissions?: Schema$Permission[]; } @@ -8587,7 +8587,7 @@ export namespace drive_v3 { } /** - * Creates a permission for a file or shared drive. **Warning:** Concurrent permissions operations on the same file are not supported; only the last update is applied. + * Creates a permission for a file or shared drive. For more information, see [Share files, folders, and drives](https://developers.google.com/workspace/drive/api/guides/manage-sharing). **Warning:** Concurrent permissions operations on the same file aren't supported; only the last update is applied. * @example * ```js * // Before running the sample: @@ -8628,7 +8628,7 @@ export namespace drive_v3 { * enforceSingleParent: 'placeholder-value', * // The ID of the file or shared drive. * fileId: 'placeholder-value', - * // This parameter will only take effect if the item is not in a shared drive and the request is attempting to transfer the ownership of the item. If set to `true`, the item will be moved to the new owner's My Drive root folder and all prior parents removed. If set to `false`, parents are not changed. + * // This parameter only takes effect if the item isn't in a shared drive and the request is attempting to transfer the ownership of the item. If set to `true`, the item is moved to the new owner's My Drive root folder and all prior parents removed. If set to `false`, parents aren't changed. * moveToNewOwnersRoot: 'placeholder-value', * // Whether to send a notification email when sharing to users or groups. This defaults to `true` for users and groups, and is not allowed for other requests. It must not be disabled for ownership transfers. * sendNotificationEmail: 'placeholder-value', @@ -8636,9 +8636,9 @@ export namespace drive_v3 { * supportsAllDrives: 'placeholder-value', * // Deprecated: Use `supportsAllDrives` instead. * supportsTeamDrives: 'placeholder-value', - * // Whether to transfer ownership to the specified user and downgrade the current owner to a writer. This parameter is required as an acknowledgement of the side effect. + * // Whether to transfer ownership to the specified user and downgrade the current owner to a writer. This parameter is required as an acknowledgement of the side effect. For more information, see [Transfer file ownership](https://developers.google.com/workspace/drive/api/guides/transfer-file). * transferOwnership: 'placeholder-value', - * // Issue the request as a domain administrator; if set to true, then the requester will be granted access if the file ID parameter refers to a shared drive and the requester is an administrator of the domain to which the shared drive belongs. + * // Issue the request as a domain administrator. If set to `true`, and if the following additional conditions are met, the requester is granted access: 1. The file ID parameter refers to a shared drive. 2. The requester is an administrator of the domain to which the shared drive belongs. For more information, see [Manage shared drives as domain administrators](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives#manage-administrators). * useDomainAdminAccess: 'placeholder-value', * * // Request body metadata @@ -8783,7 +8783,7 @@ export namespace drive_v3 { } /** - * Deletes a permission. **Warning:** Concurrent permissions operations on the same file are not supported; only the last update is applied. + * Deletes a permission. For more information, see [Share files, folders, and drives](https://developers.google.com/workspace/drive/api/guides/manage-sharing). **Warning:** Concurrent permissions operations on the same file aren't supported; only the last update is applied. * @example * ```js * // Before running the sample: @@ -8826,7 +8826,7 @@ export namespace drive_v3 { * supportsAllDrives: 'placeholder-value', * // Deprecated: Use `supportsAllDrives` instead. * supportsTeamDrives: 'placeholder-value', - * // Issue the request as a domain administrator; if set to true, then the requester will be granted access if the file ID parameter refers to a shared drive and the requester is an administrator of the domain to which the shared drive belongs. + * // Issue the request as a domain administrator. If set to `true`, and if the following additional conditions are met, the requester is granted access: 1. The file ID parameter refers to a shared drive. 2. The requester is an administrator of the domain to which the shared drive belongs. For more information, see [Manage shared drives as domain administrators](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives#manage-administrators). * useDomainAdminAccess: 'placeholder-value', * }); * console.log(res.data); @@ -8925,7 +8925,7 @@ export namespace drive_v3 { } /** - * Gets a permission by ID. + * Gets a permission by ID. For more information, see [Share files, folders, and drives](https://developers.google.com/workspace/drive/api/guides/manage-sharing). * @example * ```js * // Before running the sample: @@ -8971,7 +8971,7 @@ export namespace drive_v3 { * supportsAllDrives: 'placeholder-value', * // Deprecated: Use `supportsAllDrives` instead. * supportsTeamDrives: 'placeholder-value', - * // Issue the request as a domain administrator; if set to true, then the requester will be granted access if the file ID parameter refers to a shared drive and the requester is an administrator of the domain to which the shared drive belongs. + * // Issue the request as a domain administrator. If set to `true`, and if the following additional conditions are met, the requester is granted access: 1. The file ID parameter refers to a shared drive. 2. The requester is an administrator of the domain to which the shared drive belongs. For more information, see [Manage shared drives as domain administrators](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives#manage-administrators). * useDomainAdminAccess: 'placeholder-value', * }); * console.log(res.data); @@ -9091,7 +9091,7 @@ export namespace drive_v3 { } /** - * Lists a file's or shared drive's permissions. + * Lists a file's or shared drive's permissions. For more information, see [Share files, folders, and drives](https://developers.google.com/workspace/drive/api/guides/manage-sharing). * @example * ```js * // Before running the sample: @@ -9131,17 +9131,17 @@ export namespace drive_v3 { * const res = await drive.permissions.list({ * // The ID of the file or shared drive. * fileId: 'placeholder-value', - * // Specifies which additional view's permissions to include in the response. Only 'published' is supported. + * // Specifies which additional view's permissions to include in the response. Only `published` is supported. * includePermissionsForView: 'placeholder-value', * // The maximum number of permissions to return per page. When not set for files in a shared drive, at most 100 results will be returned. When not set for files that are not in a shared drive, the entire list will be returned. * pageSize: 'placeholder-value', - * // The token for continuing a previous list request on the next page. This should be set to the value of 'nextPageToken' from the previous response. + * // The token for continuing a previous list request on the next page. This should be set to the value of `nextPageToken` from the previous response. * pageToken: 'placeholder-value', * // Whether the requesting application supports both My Drives and shared drives. * supportsAllDrives: 'placeholder-value', * // Deprecated: Use `supportsAllDrives` instead. * supportsTeamDrives: 'placeholder-value', - * // Issue the request as a domain administrator; if set to true, then the requester will be granted access if the file ID parameter refers to a shared drive and the requester is an administrator of the domain to which the shared drive belongs. + * // Issue the request as a domain administrator. If set to `true`, and if the following additional conditions are met, the requester is granted access: 1. The file ID parameter refers to a shared drive. 2. The requester is an administrator of the domain to which the shared drive belongs. For more information, see [Manage shared drives as domain administrators](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives#manage-administrators). * useDomainAdminAccess: 'placeholder-value', * }); * console.log(res.data); @@ -9249,7 +9249,7 @@ export namespace drive_v3 { } /** - * Updates a permission with patch semantics. **Warning:** Concurrent permissions operations on the same file are not supported; only the last update is applied. + * Updates a permission with patch semantics. For more information, see [Share files, folders, and drives](https://developers.google.com/workspace/drive/api/guides/manage-sharing). **Warning:** Concurrent permissions operations on the same file aren't supported; only the last update is applied. * @example * ```js * // Before running the sample: @@ -9294,9 +9294,9 @@ export namespace drive_v3 { * supportsAllDrives: 'placeholder-value', * // Deprecated: Use `supportsAllDrives` instead. * supportsTeamDrives: 'placeholder-value', - * // Whether to transfer ownership to the specified user and downgrade the current owner to a writer. This parameter is required as an acknowledgement of the side effect. + * // Whether to transfer ownership to the specified user and downgrade the current owner to a writer. This parameter is required as an acknowledgement of the side effect. For more information, see [Transfer file ownership](https://developers.google.com//workspace/drive/api/guides/transfer-file). * transferOwnership: 'placeholder-value', - * // Issue the request as a domain administrator; if set to true, then the requester will be granted access if the file ID parameter refers to a shared drive and the requester is an administrator of the domain to which the shared drive belongs. + * // Issue the request as a domain administrator. If set to `true`, and if the following additional conditions are met, the requester is granted access: 1. The file ID parameter refers to a shared drive. 2. The requester is an administrator of the domain to which the shared drive belongs. For more information, see [Manage shared drives as domain administrators](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives#manage-administrators). * useDomainAdminAccess: 'placeholder-value', * * // Request body metadata @@ -9459,7 +9459,7 @@ export namespace drive_v3 { */ fileId?: string; /** - * This parameter will only take effect if the item is not in a shared drive and the request is attempting to transfer the ownership of the item. If set to `true`, the item will be moved to the new owner's My Drive root folder and all prior parents removed. If set to `false`, parents are not changed. + * This parameter only takes effect if the item isn't in a shared drive and the request is attempting to transfer the ownership of the item. If set to `true`, the item is moved to the new owner's My Drive root folder and all prior parents removed. If set to `false`, parents aren't changed. */ moveToNewOwnersRoot?: boolean; /** @@ -9475,11 +9475,11 @@ export namespace drive_v3 { */ supportsTeamDrives?: boolean; /** - * Whether to transfer ownership to the specified user and downgrade the current owner to a writer. This parameter is required as an acknowledgement of the side effect. + * Whether to transfer ownership to the specified user and downgrade the current owner to a writer. This parameter is required as an acknowledgement of the side effect. For more information, see [Transfer file ownership](https://developers.google.com/workspace/drive/api/guides/transfer-file). */ transferOwnership?: boolean; /** - * Issue the request as a domain administrator; if set to true, then the requester will be granted access if the file ID parameter refers to a shared drive and the requester is an administrator of the domain to which the shared drive belongs. + * Issue the request as a domain administrator. If set to `true`, and if the following additional conditions are met, the requester is granted access: 1. The file ID parameter refers to a shared drive. 2. The requester is an administrator of the domain to which the shared drive belongs. For more information, see [Manage shared drives as domain administrators](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives#manage-administrators). */ useDomainAdminAccess?: boolean; @@ -9511,7 +9511,7 @@ export namespace drive_v3 { */ supportsTeamDrives?: boolean; /** - * Issue the request as a domain administrator; if set to true, then the requester will be granted access if the file ID parameter refers to a shared drive and the requester is an administrator of the domain to which the shared drive belongs. + * Issue the request as a domain administrator. If set to `true`, and if the following additional conditions are met, the requester is granted access: 1. The file ID parameter refers to a shared drive. 2. The requester is an administrator of the domain to which the shared drive belongs. For more information, see [Manage shared drives as domain administrators](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives#manage-administrators). */ useDomainAdminAccess?: boolean; } @@ -9533,7 +9533,7 @@ export namespace drive_v3 { */ supportsTeamDrives?: boolean; /** - * Issue the request as a domain administrator; if set to true, then the requester will be granted access if the file ID parameter refers to a shared drive and the requester is an administrator of the domain to which the shared drive belongs. + * Issue the request as a domain administrator. If set to `true`, and if the following additional conditions are met, the requester is granted access: 1. The file ID parameter refers to a shared drive. 2. The requester is an administrator of the domain to which the shared drive belongs. For more information, see [Manage shared drives as domain administrators](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives#manage-administrators). */ useDomainAdminAccess?: boolean; } @@ -9543,7 +9543,7 @@ export namespace drive_v3 { */ fileId?: string; /** - * Specifies which additional view's permissions to include in the response. Only 'published' is supported. + * Specifies which additional view's permissions to include in the response. Only `published` is supported. */ includePermissionsForView?: string; /** @@ -9551,7 +9551,7 @@ export namespace drive_v3 { */ pageSize?: number; /** - * The token for continuing a previous list request on the next page. This should be set to the value of 'nextPageToken' from the previous response. + * The token for continuing a previous list request on the next page. This should be set to the value of `nextPageToken` from the previous response. */ pageToken?: string; /** @@ -9563,7 +9563,7 @@ export namespace drive_v3 { */ supportsTeamDrives?: boolean; /** - * Issue the request as a domain administrator; if set to true, then the requester will be granted access if the file ID parameter refers to a shared drive and the requester is an administrator of the domain to which the shared drive belongs. + * Issue the request as a domain administrator. If set to `true`, and if the following additional conditions are met, the requester is granted access: 1. The file ID parameter refers to a shared drive. 2. The requester is an administrator of the domain to which the shared drive belongs. For more information, see [Manage shared drives as domain administrators](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives#manage-administrators). */ useDomainAdminAccess?: boolean; } @@ -9594,11 +9594,11 @@ export namespace drive_v3 { */ supportsTeamDrives?: boolean; /** - * Whether to transfer ownership to the specified user and downgrade the current owner to a writer. This parameter is required as an acknowledgement of the side effect. + * Whether to transfer ownership to the specified user and downgrade the current owner to a writer. This parameter is required as an acknowledgement of the side effect. For more information, see [Transfer file ownership](https://developers.google.com//workspace/drive/api/guides/transfer-file). */ transferOwnership?: boolean; /** - * Issue the request as a domain administrator; if set to true, then the requester will be granted access if the file ID parameter refers to a shared drive and the requester is an administrator of the domain to which the shared drive belongs. + * Issue the request as a domain administrator. If set to `true`, and if the following additional conditions are met, the requester is granted access: 1. The file ID parameter refers to a shared drive. 2. The requester is an administrator of the domain to which the shared drive belongs. For more information, see [Manage shared drives as domain administrators](https://developers.google.com/workspace/drive/api/guides/manage-shareddrives#manage-administrators). */ useDomainAdminAccess?: boolean; diff --git a/src/apis/firebaseappdistribution/v1alpha.ts b/src/apis/firebaseappdistribution/v1alpha.ts index eacb8078f3b..3ee4f9e9aab 100644 --- a/src/apis/firebaseappdistribution/v1alpha.ts +++ b/src/apis/firebaseappdistribution/v1alpha.ts @@ -283,6 +283,24 @@ export namespace firebaseappdistribution_v1alpha { */ names?: string[] | null; } + /** + * The request message for `BatchUpdateTestCase`. + */ + export interface Schema$GoogleFirebaseAppdistroV1alphaBatchUpdateTestCasesRequest { + /** + * Required. The update requests. A maximum number of 1000 test cases can be updated in one batch + */ + requests?: Schema$GoogleFirebaseAppdistroV1alphaUpdateTestCaseRequest[]; + } + /** + * The response message for `BatchUpdateTestCase`. + */ + export interface Schema$GoogleFirebaseAppdistroV1alphaBatchUpdateTestCasesResponse { + /** + * The updated test cases. + */ + testCases?: Schema$GoogleFirebaseAppdistroV1alphaTestCase[]; + } /** * The (empty) response message for `CancelReleaseTest`. */ @@ -911,6 +929,19 @@ export namespace firebaseappdistribution_v1alpha { */ usage?: string | null; } + /** + * The request message for `UpdateTestCase`. + */ + export interface Schema$GoogleFirebaseAppdistroV1alphaUpdateTestCaseRequest { + /** + * Optional. If set to true, and the test case is not found, a new test case will be created. + */ + allowMissing?: boolean | null; + /** + * Required. The test case to update. The test case's `name` field is used to identify the test case to update. Format: `projects/{project_number\}/apps/{app_id\}/testCases/{test_case_id\}` + */ + testCase?: Schema$GoogleFirebaseAppdistroV1alphaTestCase; + } /** * A release of a Firebase app. */ @@ -3438,7 +3469,7 @@ export namespace firebaseappdistribution_v1alpha { * // Do the magic * const res = await firebaseappdistribution.projects.apps.testCases.batchDelete( * { - * // Required. The parent resource where these test cases will be deleted. Format: `projects/{project_number\}/apps/{app_id\}` + * // Required. The parent resource of the test cases being deleted. Format: `projects/{project_number\}/apps/{app_id\}` * parent: 'projects/my-project/apps/my-app', * * // Request body metadata @@ -3554,6 +3585,164 @@ export namespace firebaseappdistribution_v1alpha { } } + /** + * Updates multiple test cases. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/firebaseappdistribution.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const firebaseappdistribution = google.firebaseappdistribution('v1alpha'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = await firebaseappdistribution.projects.apps.testCases.batchUpdate( + * { + * // Required. The parent resource of the test cases being updated. Format: `projects/{project_number\}/apps/{app_id\}` + * parent: 'projects/my-project/apps/my-app', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "requests": [] + * // } + * }, + * }, + * ); + * console.log(res.data); + * + * // Example response + * // { + * // "testCases": [] + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. + */ + batchUpdate( + params: Params$Resource$Projects$Apps$Testcases$Batchupdate, + options: StreamMethodOptions + ): Promise>; + batchUpdate( + params?: Params$Resource$Projects$Apps$Testcases$Batchupdate, + options?: MethodOptions + ): Promise< + GaxiosResponseWithHTTP2 + >; + batchUpdate( + params: Params$Resource$Projects$Apps$Testcases$Batchupdate, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + batchUpdate( + params: Params$Resource$Projects$Apps$Testcases$Batchupdate, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback + ): void; + batchUpdate( + params: Params$Resource$Projects$Apps$Testcases$Batchupdate, + callback: BodyResponseCallback + ): void; + batchUpdate( + callback: BodyResponseCallback + ): void; + batchUpdate( + paramsOrCallback?: + | Params$Resource$Projects$Apps$Testcases$Batchupdate + | BodyResponseCallback + | BodyResponseCallback, + optionsOrCallback?: + | MethodOptions + | StreamMethodOptions + | BodyResponseCallback + | BodyResponseCallback, + callback?: + | BodyResponseCallback + | BodyResponseCallback + ): + | void + | Promise< + GaxiosResponseWithHTTP2 + > + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Apps$Testcases$Batchupdate; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Apps$Testcases$Batchupdate; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://firebaseappdistribution.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1alpha/{+parent}/testCases:batchUpdate').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest( + parameters + ); + } + } + /** * Create a new test case. * @example @@ -4327,7 +4516,7 @@ export namespace firebaseappdistribution_v1alpha { export interface Params$Resource$Projects$Apps$Testcases$Batchdelete extends StandardParameters { /** - * Required. The parent resource where these test cases will be deleted. Format: `projects/{project_number\}/apps/{app_id\}` + * Required. The parent resource of the test cases being deleted. Format: `projects/{project_number\}/apps/{app_id\}` */ parent?: string; @@ -4336,6 +4525,18 @@ export namespace firebaseappdistribution_v1alpha { */ requestBody?: Schema$GoogleFirebaseAppdistroV1alphaBatchDeleteTestCasesRequest; } + export interface Params$Resource$Projects$Apps$Testcases$Batchupdate + extends StandardParameters { + /** + * Required. The parent resource of the test cases being updated. Format: `projects/{project_number\}/apps/{app_id\}` + */ + parent?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$GoogleFirebaseAppdistroV1alphaBatchUpdateTestCasesRequest; + } export interface Params$Resource$Projects$Apps$Testcases$Create extends StandardParameters { /** diff --git a/src/apis/firebaseml/v2beta.ts b/src/apis/firebaseml/v2beta.ts index 04a476c6632..be1eb941fe1 100644 --- a/src/apis/firebaseml/v2beta.ts +++ b/src/apis/firebaseml/v2beta.ts @@ -1151,6 +1151,27 @@ export namespace firebaseml_v2beta { * Optional. The desired aspect ratio for the generated images. The following aspect ratios are supported: "1:1" "2:3", "3:2" "3:4", "4:3" "4:5", "5:4" "9:16", "16:9" "21:9" */ aspectRatio?: string | null; + /** + * Optional. The image output format for generated images. + */ + imageOutputOptions?: Schema$GoogleCloudAiplatformV1beta1ImageConfigImageOutputOptions; + /** + * Optional. Controls whether the model can generate people. + */ + personGeneration?: string | null; + } + /** + * The image output format for generated images. + */ + export interface Schema$GoogleCloudAiplatformV1beta1ImageConfigImageOutputOptions { + /** + * Optional. The compression quality of the output image. + */ + compressionQuality?: number | null; + /** + * Optional. The image format that the output should be saved as. + */ + mimeType?: string | null; } /** * Logprobs Result diff --git a/src/apis/iam/v1.ts b/src/apis/iam/v1.ts index c8fb4529fa2..00cd21dd2ef 100644 --- a/src/apis/iam/v1.ts +++ b/src/apis/iam/v1.ts @@ -1583,6 +1583,10 @@ export namespace iam_v1 { * A SAML identity provider configuration. */ saml?: Schema$GoogleIamAdminV1WorkforcePoolProviderSaml; + /** + * Optional. Agentspace only. Specifies whether the workforce identity pool provider uses SCIM-managed groups instead of the `google.groups` attribute mapping for authorization checks. The `scim_usage` and `extended_attributes_oauth2_client` fields are mutually exclusive. A request that enables both fields on the same workforce identity pool provider will produce an error. + */ + scimUsage?: string | null; /** * Output only. The state of the provider. */ @@ -3881,6 +3885,7 @@ export namespace iam_v1 { * // "name": "my_name", * // "oidc": {}, * // "saml": {}, + * // "scimUsage": "my_scimUsage", * // "state": "my_state" * // } * }, @@ -4182,6 +4187,7 @@ export namespace iam_v1 { * // "name": "my_name", * // "oidc": {}, * // "saml": {}, + * // "scimUsage": "my_scimUsage", * // "state": "my_state" * // } * } @@ -4486,6 +4492,7 @@ export namespace iam_v1 { * // "name": "my_name", * // "oidc": {}, * // "saml": {}, + * // "scimUsage": "my_scimUsage", * // "state": "my_state" * // } * }, diff --git a/src/apis/iap/v1.ts b/src/apis/iap/v1.ts index ba851296030..7aff3c87253 100644 --- a/src/apis/iap/v1.ts +++ b/src/apis/iap/v1.ts @@ -536,7 +536,7 @@ export namespace iap_v1 { */ labels?: {[key: string]: string} | null; /** - * The locations of the resource. This field is used to determine whether the request is compliant with Trust Boundaries. Usage: - If unset or empty, the location of authorization is used as the target location. - For global resources: use a single value of "global". - For regional/multi-regional resources: use name of the GCP region(s) where the resource exists (e.g., ["us-east1", "us-west1"]). For multi-regional resources specify the name of each GCP region in the resource's multi-region. NOTE: Only GCP cloud region names are supported - go/cloud-region-names. + * The locations of the resource. This field is used to determine whether the request is compliant with Trust Boundaries. Usage: - Must not be empty for services in-scope for Trust Boundaries. Once Trust Boundaries is GA, empty values will cause the request to be rejected if customers enforce Trust Boundaries on the parent CRM nodes. - For global resources: use a single value of "global". - For regional/multi-regional resources: use name of the GCP region(s) where the resource exists (e.g., ["us-east1", "us-west1"]). For multi-regional resources specify the name of each GCP region in the resource's multi-region. NOTE: Only GCP cloud region names are supported - go/cloud-region-names. */ locations?: string[] | null; /** diff --git a/src/apis/managedkafka/v1.ts b/src/apis/managedkafka/v1.ts index 86994327f16..b22ee402b07 100644 --- a/src/apis/managedkafka/v1.ts +++ b/src/apis/managedkafka/v1.ts @@ -649,6 +649,10 @@ export namespace managedkafka_v1 { * A list of operations that matches the specified filter in the request. */ operations?: Schema$Operation[]; + /** + * Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations. + */ + unreachable?: string[] | null; } /** * Request for ListSchemaRegistries. @@ -963,7 +967,7 @@ export namespace managedkafka_v1 { */ export interface Schema$StopConnectorResponse {} /** - * Task Retry Policy is implemented on a best-effort basis. Retry delay will be exponential based on provided minimum and maximum backoffs. https://en.wikipedia.org/wiki/Exponential_backoff. Note that the delay between consecutive task restarts may not always precisely match the configured settings. This can happen when the ConnectCluster is in rebalancing state or if the ConnectCluster is unresponsive etc. The default values for minimum and maximum backoffs are 60 seconds and 30 minutes respectively. + * Task Retry Policy is implemented on a best-effort basis. The default policy retries tasks with a minimum_backoff of 60 seconds, and a maximum_backoff of 12 hours. You can disable the policy by setting the task_retry_disabled field to true. Retry delay will be exponential based on provided minimum and maximum backoffs. https://en.wikipedia.org/wiki/Exponential_backoff. Note that the delay between consecutive task restarts may not always precisely match the configured settings. This can happen when the ConnectCluster is in rebalancing state or if the ConnectCluster is unresponsive etc. The default values for minimum and maximum backoffs are 60 seconds and 12 hours respectively. */ export interface Schema$TaskRetryPolicy { /** @@ -974,6 +978,10 @@ export namespace managedkafka_v1 { * Optional. The minimum amount of time to wait before retrying a failed task. This sets a lower bound for the backoff delay. */ minimumBackoff?: string | null; + /** + * Optional. If true, task retry is disabled. + */ + taskRetryDisabled?: boolean | null; } /** * The TLS configuration for the Kafka cluster. @@ -7505,13 +7513,16 @@ export namespace managedkafka_v1 { * pageSize: 'placeholder-value', * // The standard list page token. * pageToken: 'placeholder-value', + * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + * returnPartialSuccess: 'placeholder-value', * }); * console.log(res.data); * * // Example response * // { * // "nextPageToken": "my_nextPageToken", - * // "operations": [] + * // "operations": [], + * // "unreachable": [] * // } * } * @@ -7657,6 +7668,10 @@ export namespace managedkafka_v1 { * The standard list page token. */ pageToken?: string; + /** + * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + */ + returnPartialSuccess?: boolean; } export class Resource$Projects$Locations$Schemaregistries { diff --git a/src/apis/networkconnectivity/v1.ts b/src/apis/networkconnectivity/v1.ts index 93eb5feb1ee..c9124a1e635 100644 --- a/src/apis/networkconnectivity/v1.ts +++ b/src/apis/networkconnectivity/v1.ts @@ -232,6 +232,23 @@ export namespace networkconnectivity_v1 { */ subnetworkRef?: string | null; } + /** + * The specification for automatically creating a DNS record. + */ + export interface Schema$AutomatedDnsCreationSpec { + /** + * Required. The DNS suffix to use for the DNS record. Must end with a dot. This should be a valid DNS domain name as per RFC 1035. Each label (between dots) can contain letters, digits, and hyphens, and must not start or end with a hyphen. Example: "my-service.example.com.", "internal." + */ + dnsSuffix?: string | null; + /** + * Required. The hostname (the first label of the FQDN) to use for the DNS record. This should be a valid DNS label as per RFC 1035. Generally, this means the hostname can contain letters, digits, and hyphens, and must not start or end with a hyphen. Example: "my-instance", "db-1" + */ + hostname?: string | null; + /** + * Optional. The Time To Live for the DNS record, in seconds. If not provided, a default of 30 seconds will be used. + */ + ttl?: string | null; + } /** * Associates `members`, or principals, with a `role`. */ @@ -324,6 +341,10 @@ export namespace networkconnectivity_v1 { * PSC connection details on consumer side. */ export interface Schema$ConsumerPscConnection { + /** + * Output only. The status of DNS automation for this PSC connection. + */ + dnsAutomationStatus?: Schema$DnsAutomationStatus; /** * The most recent error during operating this connection. */ @@ -451,6 +472,23 @@ export namespace networkconnectivity_v1 { */ updateTime?: string | null; } + /** + * The status of DNS automation for a PSC connection. + */ + export interface Schema$DnsAutomationStatus { + /** + * Output only. The error details if the state is CREATE_FAILED or DELETE_FAILED. + */ + error?: Schema$GoogleRpcStatus; + /** + * Output only. The fully qualified domain name of the DNS record. + */ + fqdn?: string | null; + /** + * Output only. The current state of DNS automation. + */ + state?: string | null; + } /** * A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \} */ @@ -1062,23 +1100,6 @@ export namespace networkconnectivity_v1 { */ unreachable?: string[] | null; } - /** - * Message for response to listing RemoteTransportProfiles - */ - export interface Schema$ListRemoteTransportProfilesResponse { - /** - * A token identifying a page of results the server should return. - */ - nextPageToken?: string | null; - /** - * The list of RemoteTransportProfiles. - */ - remoteTransportProfiles?: Schema$RemoteTransportProfile[]; - /** - * Unordered list. Locations that could not be reached. - */ - unreachable?: string[] | null; - } /** * Response for HubService.ListRoutes method. */ @@ -1198,23 +1219,6 @@ export namespace networkconnectivity_v1 { */ unreachable?: string[] | null; } - /** - * Message for response to listing Transports. - */ - export interface Schema$ListTransportsResponse { - /** - * A token identifying a page of results the server should return. - */ - nextPageToken?: string | null; - /** - * The list of Transport. - */ - transports?: Schema$Transport[]; - /** - * Unordered list. Locations that could not be reached. - */ - unreachable?: string[] | null; - } /** * A resource that represents a Google Cloud location. */ @@ -1513,6 +1517,10 @@ export namespace networkconnectivity_v1 { * The PSC configurations on producer side. */ export interface Schema$ProducerPscConfig { + /** + * Optional. The specification for automatically creating a DNS record for this PSC connection. + */ + automatedDnsCreationSpec?: Schema$AutomatedDnsCreationSpec; /** * The resource path of a service attachment. Example: projects/{projectNumOrId\}/regions/{region\}/serviceAttachments/{resourceId\}. */ @@ -1746,59 +1754,6 @@ export namespace networkconnectivity_v1 { */ spokeUri?: string | null; } - /** - * Message describing RemoteTransportProfile object. - */ - export interface Schema$RemoteTransportProfile { - /** - * Output only. [Output only] Create time stamp. - */ - createTime?: string | null; - /** - * Output only. Description of the profile. - */ - description?: string | null; - /** - * Output only. [Output only] Type of provisioning flows supported by this profile. - */ - flow?: string | null; - /** - * Output only. Labels as key value pairs. - */ - labels?: {[key: string]: string} | null; - /** - * Identifier. Name of the resource in the format of $provider-$site. - */ - name?: string | null; - /** - * Output only. [Output only] Order state for this profile. - */ - orderState?: string | null; - /** - * Output only. Name of the provider on the other end of this profile. E.g. “Amazon Web Services” or “Microsoft Azure”. - */ - provider?: string | null; - /** - * Output only. If the profile is a Cloud Service Provider with compute resources, this is populated with the region where connectivity is being established. If the profile provides facility-level selection, this is an identity of the facility any connections on this profile are going through. - */ - providerSite?: string | null; - /** - * Output only. GCP Region where this profile is available. - */ - region?: string | null; - /** - * Output only. [Output only] Availability class that will be configured for this particular RemoteTransportProfile. - */ - sla?: string | null; - /** - * Output only. List of bandwidth enum values that are supported by this profile. - */ - supportedBandwidths?: string[] | null; - /** - * Output only. [Output only] Update time stamp. - */ - updateTime?: string | null; - } /** * A route defines a path from VM instances within a spoke to a specific destination resource. Only VPC spokes have routes. */ @@ -2328,75 +2283,6 @@ export namespace networkconnectivity_v1 { */ permissions?: string[] | null; } - /** - * Message describing Transport object. - */ - export interface Schema$Transport { - /** - * Optional. Administrative state of the underlying connectivity. If set to true (default), connectivity should be available between your environments. If set to false, the connectivity over these links is disabled. Disabling your Transport does not affect billing, and retains the underlying network bandwidth associated with the connectivity. - */ - adminEnabled?: boolean | null; - /** - * Optional. [Preview only] List of IP Prefixes that will be advertised to the remote provider. Both IPv4 and IPv6 addresses are supported. - */ - advertisedRoutes?: string[] | null; - /** - * Required. Bandwidth of the Transport. This must be one of the supported bandwidths for the remote profile. - */ - bandwidth?: string | null; - /** - * Output only. [Output only] Create time stamp. - */ - createTime?: string | null; - /** - * Optional. Description of the Transport. - */ - description?: string | null; - /** - * Output only. [Output only] Google-generated activation key. This is only output if the selected profile supports an OUTPUT key flow. Inputting this to the provider is only valid while the resource is in a PENDING_KEY state. Once the provider has accepted the key, the resource will move to the CONFIGURING state. - */ - generatedActivationKey?: string | null; - /** - * Optional. Labels as key value pairs. - */ - labels?: {[key: string]: string} | null; - /** - * Output only. [Output only] The maximum transmission unit (MTU) of a packet that can be sent over this transport. - */ - mtuLimit?: number | null; - /** - * Identifier. Name of the resource, see google.aip.dev/122 for resource naming. - */ - name?: string | null; - /** - * Required. [Preview only] Resource URL of the Network that will be peered with this Transport. This field must be provided during resource creation and cannot be changed. - */ - network?: string | null; - /** - * Optional. Key used for establishing a connection with the remote transport. This key can only be provided if the profile supports an INPUT key flow and the resource is in the PENDING_KEY state. - */ - providedActivationKey?: string | null; - /** - * Required. GCP Region where this Transport is located. - */ - region?: string | null; - /** - * Required. Resource URL of the remoteTransportProfile that this Transport is connecting to. Format: projects/{project\}/locations/{location\}/remoteTransportProfiles/{remote_transport_profile\} - */ - remoteProfile?: string | null; - /** - * Optional. IP version stack for the established connectivity. - */ - stackType?: string | null; - /** - * Output only. [Output only] State of the underlying connectivity. - */ - state?: string | null; - /** - * Output only. [Output only] Update time stamp. - */ - updateTime?: string | null; - } /** * VM instances that this policy-based route applies to. */ @@ -2441,13 +2327,11 @@ export namespace networkconnectivity_v1 { multicloudDataTransferSupportedServices: Resource$Projects$Locations$Multiclouddatatransfersupportedservices; operations: Resource$Projects$Locations$Operations; regionalEndpoints: Resource$Projects$Locations$Regionalendpoints; - remoteTransportProfiles: Resource$Projects$Locations$Remotetransportprofiles; serviceClasses: Resource$Projects$Locations$Serviceclasses; serviceConnectionMaps: Resource$Projects$Locations$Serviceconnectionmaps; serviceConnectionPolicies: Resource$Projects$Locations$Serviceconnectionpolicies; serviceConnectionTokens: Resource$Projects$Locations$Serviceconnectiontokens; spokes: Resource$Projects$Locations$Spokes; - transports: Resource$Projects$Locations$Transports; constructor(context: APIRequestContext) { this.context = context; this.global = new Resource$Projects$Locations$Global(this.context); @@ -2467,8 +2351,6 @@ export namespace networkconnectivity_v1 { ); this.regionalEndpoints = new Resource$Projects$Locations$Regionalendpoints(this.context); - this.remoteTransportProfiles = - new Resource$Projects$Locations$Remotetransportprofiles(this.context); this.serviceClasses = new Resource$Projects$Locations$Serviceclasses( this.context ); @@ -2479,9 +2361,6 @@ export namespace networkconnectivity_v1 { this.serviceConnectionTokens = new Resource$Projects$Locations$Serviceconnectiontokens(this.context); this.spokes = new Resource$Projects$Locations$Spokes(this.context); - this.transports = new Resource$Projects$Locations$Transports( - this.context - ); } /** @@ -13106,14 +12985,14 @@ export namespace networkconnectivity_v1 { parent?: string; } - export class Resource$Projects$Locations$Remotetransportprofiles { + export class Resource$Projects$Locations$Serviceclasses { context: APIRequestContext; constructor(context: APIRequestContext) { this.context = context; } /** - * Gets details of a single RemoteTransportProfile. + * Deletes a single ServiceClass. * @example * ```js * // Before running the sample: @@ -13143,26 +13022,23 @@ export namespace networkconnectivity_v1 { * * // Do the magic * const res = - * await networkconnectivity.projects.locations.remoteTransportProfiles.get({ - * // Required. Name of the resource. - * name: 'projects/my-project/locations/my-location/remoteTransportProfiles/my-remoteTransportProfile', + * await networkconnectivity.projects.locations.serviceClasses.delete({ + * // Optional. The etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. + * etag: 'placeholder-value', + * // Required. The name of the ServiceClass to delete. + * name: 'projects/my-project/locations/my-location/serviceClasses/my-serviceClasse', + * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', * }); * console.log(res.data); * * // Example response * // { - * // "createTime": "my_createTime", - * // "description": "my_description", - * // "flow": "my_flow", - * // "labels": {}, + * // "done": false, + * // "error": {}, + * // "metadata": {}, * // "name": "my_name", - * // "orderState": "my_orderState", - * // "provider": "my_provider", - * // "providerSite": "my_providerSite", - * // "region": "my_region", - * // "sla": "my_sla", - * // "supportedBandwidths": [], - * // "updateTime": "my_updateTime" + * // "response": {} * // } * } * @@ -13178,56 +13054,57 @@ export namespace networkconnectivity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - get( - params: Params$Resource$Projects$Locations$Remotetransportprofiles$Get, + delete( + params: Params$Resource$Projects$Locations$Serviceclasses$Delete, options: StreamMethodOptions ): Promise>; - get( - params?: Params$Resource$Projects$Locations$Remotetransportprofiles$Get, + delete( + params?: Params$Resource$Projects$Locations$Serviceclasses$Delete, options?: MethodOptions - ): Promise>; - get( - params: Params$Resource$Projects$Locations$Remotetransportprofiles$Get, + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Serviceclasses$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Remotetransportprofiles$Get, + delete( + params: Params$Resource$Projects$Locations$Serviceclasses$Delete, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Remotetransportprofiles$Get, - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Serviceclasses$Delete, + callback: BodyResponseCallback ): void; - get(callback: BodyResponseCallback): void; - get( + delete( + callback: BodyResponseCallback + ): void; + delete( paramsOrCallback?: - | Params$Resource$Projects$Locations$Remotetransportprofiles$Get - | BodyResponseCallback + | Params$Resource$Projects$Locations$Serviceclasses$Delete + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Remotetransportprofiles$Get; + {}) as Params$Resource$Projects$Locations$Serviceclasses$Delete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Remotetransportprofiles$Get; + params = {} as Params$Resource$Projects$Locations$Serviceclasses$Delete; options = {}; } @@ -13242,7 +13119,7 @@ export namespace networkconnectivity_v1 { options: Object.assign( { url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'GET', + method: 'DELETE', apiVersion: '', }, options @@ -13253,17 +13130,17 @@ export namespace networkconnectivity_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Lists RemoteTransportProfiles in a given project and location. + * Gets details of a single ServiceClass. * @example * ```js * // Before running the sample: @@ -13292,26 +13169,21 @@ export namespace networkconnectivity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = - * await networkconnectivity.projects.locations.remoteTransportProfiles.list({ - * // Optional. Filtering results. - * filter: 'placeholder-value', - * // Optional. Hint for how to order the results. - * orderBy: 'placeholder-value', - * // Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. - * pageSize: 'placeholder-value', - * // Optional. A token identifying a page of results the server should return. - * pageToken: 'placeholder-value', - * // Required. Parent value for ListRemoteTransportProfilesRequest. - * parent: 'projects/my-project/locations/my-location', - * }); + * const res = await networkconnectivity.projects.locations.serviceClasses.get({ + * // Required. Name of the ServiceClass to get. + * name: 'projects/my-project/locations/my-location/serviceClasses/my-serviceClasse', + * }); * console.log(res.data); * * // Example response * // { - * // "nextPageToken": "my_nextPageToken", - * // "remoteTransportProfiles": [], - * // "unreachable": [] + * // "createTime": "my_createTime", + * // "description": "my_description", + * // "etag": "my_etag", + * // "labels": {}, + * // "name": "my_name", + * // "serviceClass": "my_serviceClass", + * // "updateTime": "my_updateTime" * // } * } * @@ -13327,62 +13199,53 @@ export namespace networkconnectivity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - list( - params: Params$Resource$Projects$Locations$Remotetransportprofiles$List, + get( + params: Params$Resource$Projects$Locations$Serviceclasses$Get, options: StreamMethodOptions ): Promise>; - list( - params?: Params$Resource$Projects$Locations$Remotetransportprofiles$List, + get( + params?: Params$Resource$Projects$Locations$Serviceclasses$Get, options?: MethodOptions - ): Promise< - GaxiosResponseWithHTTP2 - >; - list( - params: Params$Resource$Projects$Locations$Remotetransportprofiles$List, + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Serviceclasses$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$Remotetransportprofiles$List, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - list( - params: Params$Resource$Projects$Locations$Remotetransportprofiles$List, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Serviceclasses$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - list( - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Serviceclasses$Get, + callback: BodyResponseCallback ): void; - list( + get(callback: BodyResponseCallback): void; + get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Remotetransportprofiles$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Serviceclasses$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise< - GaxiosResponseWithHTTP2 - > + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Remotetransportprofiles$List; + {}) as Params$Resource$Projects$Locations$Serviceclasses$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Remotetransportprofiles$List; + params = {} as Params$Resource$Projects$Locations$Serviceclasses$Get; options = {}; } @@ -13396,72 +13259,29 @@ export namespace networkconnectivity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/remoteTransportProfiles').replace( - /([^:]\/)\/+/g, - '$1' - ), + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['parent'], - pathParams: ['parent'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( - parameters - ); + return createAPIRequest(parameters); } } - } - export interface Params$Resource$Projects$Locations$Remotetransportprofiles$Get - extends StandardParameters { - /** - * Required. Name of the resource. - */ - name?: string; - } - export interface Params$Resource$Projects$Locations$Remotetransportprofiles$List - extends StandardParameters { /** - * Optional. Filtering results. - */ - filter?: string; - /** - * Optional. Hint for how to order the results. - */ - orderBy?: string; - /** - * Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. - */ - pageSize?: number; - /** - * Optional. A token identifying a page of results the server should return. - */ - pageToken?: string; - /** - * Required. Parent value for ListRemoteTransportProfilesRequest. - */ - parent?: string; - } - - export class Resource$Projects$Locations$Serviceclasses { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; - } - - /** - * Deletes a single ServiceClass. + * Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. * @example * ```js * // Before running the sample: @@ -13491,23 +13311,21 @@ export namespace networkconnectivity_v1 { * * // Do the magic * const res = - * await networkconnectivity.projects.locations.serviceClasses.delete({ - * // Optional. The etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. - * etag: 'placeholder-value', - * // Required. The name of the ServiceClass to delete. - * name: 'projects/my-project/locations/my-location/serviceClasses/my-serviceClasse', - * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - * requestId: 'placeholder-value', + * await networkconnectivity.projects.locations.serviceClasses.getIamPolicy({ + * // Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + * 'options.requestedPolicyVersion': 'placeholder-value', + * // REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + * resource: + * 'projects/my-project/locations/my-location/serviceClasses/my-serviceClasse', * }); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, - * // "name": "my_name", - * // "response": {} + * // "auditConfigs": [], + * // "bindings": [], + * // "etag": "my_etag", + * // "version": 0 * // } * } * @@ -13523,57 +13341,54 @@ export namespace networkconnectivity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - delete( - params: Params$Resource$Projects$Locations$Serviceclasses$Delete, + getIamPolicy( + params: Params$Resource$Projects$Locations$Serviceclasses$Getiampolicy, options: StreamMethodOptions ): Promise>; - delete( - params?: Params$Resource$Projects$Locations$Serviceclasses$Delete, + getIamPolicy( + params?: Params$Resource$Projects$Locations$Serviceclasses$Getiampolicy, options?: MethodOptions - ): Promise>; - delete( - params: Params$Resource$Projects$Locations$Serviceclasses$Delete, + ): Promise>; + getIamPolicy( + params: Params$Resource$Projects$Locations$Serviceclasses$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Serviceclasses$Delete, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - delete( - params: Params$Resource$Projects$Locations$Serviceclasses$Delete, - callback: BodyResponseCallback + getIamPolicy( + params: Params$Resource$Projects$Locations$Serviceclasses$Getiampolicy, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - delete( - callback: BodyResponseCallback + getIamPolicy( + params: Params$Resource$Projects$Locations$Serviceclasses$Getiampolicy, + callback: BodyResponseCallback ): void; - delete( + getIamPolicy(callback: BodyResponseCallback): void; + getIamPolicy( paramsOrCallback?: - | Params$Resource$Projects$Locations$Serviceclasses$Delete - | BodyResponseCallback + | Params$Resource$Projects$Locations$Serviceclasses$Getiampolicy + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Serviceclasses$Delete; + {}) as Params$Resource$Projects$Locations$Serviceclasses$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Serviceclasses$Delete; + params = + {} as Params$Resource$Projects$Locations$Serviceclasses$Getiampolicy; options = {}; } @@ -13587,29 +13402,32 @@ export namespace networkconnectivity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'DELETE', + url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['resource'], + pathParams: ['resource'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Gets details of a single ServiceClass. + * Lists ServiceClasses in a given project and location. * @example * ```js * // Before running the sample: @@ -13638,21 +13456,25 @@ export namespace networkconnectivity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await networkconnectivity.projects.locations.serviceClasses.get({ - * // Required. Name of the ServiceClass to get. - * name: 'projects/my-project/locations/my-location/serviceClasses/my-serviceClasse', + * const res = await networkconnectivity.projects.locations.serviceClasses.list({ + * // A filter expression that filters the results listed in the response. + * filter: 'placeholder-value', + * // Sort the results by a certain order. + * orderBy: 'placeholder-value', + * // The maximum number of results per page that should be returned. + * pageSize: 'placeholder-value', + * // The page token. + * pageToken: 'placeholder-value', + * // Required. The parent resource's name. ex. projects/123/locations/us-east1 + * parent: 'projects/my-project/locations/my-location', * }); * console.log(res.data); * * // Example response * // { - * // "createTime": "my_createTime", - * // "description": "my_description", - * // "etag": "my_etag", - * // "labels": {}, - * // "name": "my_name", - * // "serviceClass": "my_serviceClass", - * // "updateTime": "my_updateTime" + * // "nextPageToken": "my_nextPageToken", + * // "serviceClasses": [], + * // "unreachable": [] * // } * } * @@ -13668,53 +13490,57 @@ export namespace networkconnectivity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - get( - params: Params$Resource$Projects$Locations$Serviceclasses$Get, + list( + params: Params$Resource$Projects$Locations$Serviceclasses$List, options: StreamMethodOptions ): Promise>; - get( - params?: Params$Resource$Projects$Locations$Serviceclasses$Get, + list( + params?: Params$Resource$Projects$Locations$Serviceclasses$List, options?: MethodOptions - ): Promise>; - get( - params: Params$Resource$Projects$Locations$Serviceclasses$Get, + ): Promise>; + list( + params: Params$Resource$Projects$Locations$Serviceclasses$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Serviceclasses$Get, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Serviceclasses$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Serviceclasses$Get, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Serviceclasses$List, + callback: BodyResponseCallback ): void; - get(callback: BodyResponseCallback): void; - get( + list( + callback: BodyResponseCallback + ): void; + list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Serviceclasses$Get - | BodyResponseCallback + | Params$Resource$Projects$Locations$Serviceclasses$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Serviceclasses$Get; + {}) as Params$Resource$Projects$Locations$Serviceclasses$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Serviceclasses$Get; + params = {} as Params$Resource$Projects$Locations$Serviceclasses$List; options = {}; } @@ -13728,29 +13554,32 @@ export namespace networkconnectivity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + url: (rootUrl + '/v1/{+parent}/serviceClasses').replace( + /([^:]\/)\/+/g, + '$1' + ), method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. + * Updates the parameters of a single ServiceClass. * @example * ```js * // Before running the sample: @@ -13779,22 +13608,39 @@ export namespace networkconnectivity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = - * await networkconnectivity.projects.locations.serviceClasses.getIamPolicy({ - * // Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). - * 'options.requestedPolicyVersion': 'placeholder-value', - * // REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - * resource: - * 'projects/my-project/locations/my-location/serviceClasses/my-serviceClasse', - * }); + * const res = await networkconnectivity.projects.locations.serviceClasses.patch( + * { + * // Immutable. The name of a ServiceClass resource. Format: projects/{project\}/locations/{location\}/serviceClasses/{service_class\} See: https://google.aip.dev/122#fields-representing-resource-names + * name: 'projects/my-project/locations/my-location/serviceClasses/my-serviceClasse', + * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', + * // Optional. Field mask is used to specify the fields to be overwritten in the ServiceClass resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. + * updateMask: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "createTime": "my_createTime", + * // "description": "my_description", + * // "etag": "my_etag", + * // "labels": {}, + * // "name": "my_name", + * // "serviceClass": "my_serviceClass", + * // "updateTime": "my_updateTime" + * // } + * }, + * }, + * ); * console.log(res.data); * * // Example response * // { - * // "auditConfigs": [], - * // "bindings": [], - * // "etag": "my_etag", - * // "version": 0 + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} * // } * } * @@ -13810,54 +13656,57 @@ export namespace networkconnectivity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - getIamPolicy( - params: Params$Resource$Projects$Locations$Serviceclasses$Getiampolicy, + patch( + params: Params$Resource$Projects$Locations$Serviceclasses$Patch, options: StreamMethodOptions ): Promise>; - getIamPolicy( - params?: Params$Resource$Projects$Locations$Serviceclasses$Getiampolicy, + patch( + params?: Params$Resource$Projects$Locations$Serviceclasses$Patch, options?: MethodOptions - ): Promise>; - getIamPolicy( - params: Params$Resource$Projects$Locations$Serviceclasses$Getiampolicy, - options: StreamMethodOptions | BodyResponseCallback, + ): Promise>; + patch( + params: Params$Resource$Projects$Locations$Serviceclasses$Patch, + options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - getIamPolicy( - params: Params$Resource$Projects$Locations$Serviceclasses$Getiampolicy, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + patch( + params: Params$Resource$Projects$Locations$Serviceclasses$Patch, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - getIamPolicy( - params: Params$Resource$Projects$Locations$Serviceclasses$Getiampolicy, - callback: BodyResponseCallback + patch( + params: Params$Resource$Projects$Locations$Serviceclasses$Patch, + callback: BodyResponseCallback ): void; - getIamPolicy(callback: BodyResponseCallback): void; - getIamPolicy( + patch( + callback: BodyResponseCallback + ): void; + patch( paramsOrCallback?: - | Params$Resource$Projects$Locations$Serviceclasses$Getiampolicy - | BodyResponseCallback + | Params$Resource$Projects$Locations$Serviceclasses$Patch + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Serviceclasses$Getiampolicy; + {}) as Params$Resource$Projects$Locations$Serviceclasses$Patch; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Serviceclasses$Getiampolicy; + params = {} as Params$Resource$Projects$Locations$Serviceclasses$Patch; options = {}; } @@ -13871,32 +13720,29 @@ export namespace networkconnectivity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'GET', + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', apiVersion: '', }, options ), params, - requiredParams: ['resource'], - pathParams: ['resource'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Lists ServiceClasses in a given project and location. + * Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. * @example * ```js * // Before running the sample: @@ -13925,25 +13771,29 @@ export namespace networkconnectivity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await networkconnectivity.projects.locations.serviceClasses.list({ - * // A filter expression that filters the results listed in the response. - * filter: 'placeholder-value', - * // Sort the results by a certain order. - * orderBy: 'placeholder-value', - * // The maximum number of results per page that should be returned. - * pageSize: 'placeholder-value', - * // The page token. - * pageToken: 'placeholder-value', - * // Required. The parent resource's name. ex. projects/123/locations/us-east1 - * parent: 'projects/my-project/locations/my-location', - * }); + * const res = + * await networkconnectivity.projects.locations.serviceClasses.setIamPolicy({ + * // REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + * resource: + * 'projects/my-project/locations/my-location/serviceClasses/my-serviceClasse', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "policy": {}, + * // "updateMask": "my_updateMask" + * // } + * }, + * }); * console.log(res.data); * * // Example response * // { - * // "nextPageToken": "my_nextPageToken", - * // "serviceClasses": [], - * // "unreachable": [] + * // "auditConfigs": [], + * // "bindings": [], + * // "etag": "my_etag", + * // "version": 0 * // } * } * @@ -13959,57 +13809,54 @@ export namespace networkconnectivity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - list( - params: Params$Resource$Projects$Locations$Serviceclasses$List, + setIamPolicy( + params: Params$Resource$Projects$Locations$Serviceclasses$Setiampolicy, options: StreamMethodOptions ): Promise>; - list( - params?: Params$Resource$Projects$Locations$Serviceclasses$List, + setIamPolicy( + params?: Params$Resource$Projects$Locations$Serviceclasses$Setiampolicy, options?: MethodOptions - ): Promise>; - list( - params: Params$Resource$Projects$Locations$Serviceclasses$List, + ): Promise>; + setIamPolicy( + params: Params$Resource$Projects$Locations$Serviceclasses$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$Serviceclasses$List, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - list( - params: Params$Resource$Projects$Locations$Serviceclasses$List, - callback: BodyResponseCallback + setIamPolicy( + params: Params$Resource$Projects$Locations$Serviceclasses$Setiampolicy, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - list( - callback: BodyResponseCallback + setIamPolicy( + params: Params$Resource$Projects$Locations$Serviceclasses$Setiampolicy, + callback: BodyResponseCallback ): void; - list( + setIamPolicy(callback: BodyResponseCallback): void; + setIamPolicy( paramsOrCallback?: - | Params$Resource$Projects$Locations$Serviceclasses$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Serviceclasses$Setiampolicy + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Serviceclasses$List; + {}) as Params$Resource$Projects$Locations$Serviceclasses$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Serviceclasses$List; + params = + {} as Params$Resource$Projects$Locations$Serviceclasses$Setiampolicy; options = {}; } @@ -14023,32 +13870,32 @@ export namespace networkconnectivity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/serviceClasses').replace( + url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace( /([^:]\/)\/+/g, '$1' ), - method: 'GET', + method: 'POST', apiVersion: '', }, options ), params, - requiredParams: ['parent'], - pathParams: ['parent'], + requiredParams: ['resource'], + pathParams: ['resource'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Updates the parameters of a single ServiceClass. + * Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. * @example * ```js * // Before running the sample: @@ -14077,39 +13924,27 @@ export namespace networkconnectivity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await networkconnectivity.projects.locations.serviceClasses.patch( - * { - * // Immutable. The name of a ServiceClass resource. Format: projects/{project\}/locations/{location\}/serviceClasses/{service_class\} See: https://google.aip.dev/122#fields-representing-resource-names - * name: 'projects/my-project/locations/my-location/serviceClasses/my-serviceClasse', - * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - * requestId: 'placeholder-value', - * // Optional. Field mask is used to specify the fields to be overwritten in the ServiceClass resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. - * updateMask: 'placeholder-value', + * const res = + * await networkconnectivity.projects.locations.serviceClasses.testIamPermissions( + * { + * // REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + * resource: + * 'projects/my-project/locations/my-location/serviceClasses/my-serviceClasse', * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "createTime": "my_createTime", - * // "description": "my_description", - * // "etag": "my_etag", - * // "labels": {}, - * // "name": "my_name", - * // "serviceClass": "my_serviceClass", - * // "updateTime": "my_updateTime" - * // } + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "permissions": [] + * // } + * }, * }, - * }, - * ); + * ); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, - * // "name": "my_name", - * // "response": {} + * // "permissions": [] * // } * } * @@ -14125,57 +13960,58 @@ export namespace networkconnectivity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - patch( - params: Params$Resource$Projects$Locations$Serviceclasses$Patch, + testIamPermissions( + params: Params$Resource$Projects$Locations$Serviceclasses$Testiampermissions, options: StreamMethodOptions ): Promise>; - patch( - params?: Params$Resource$Projects$Locations$Serviceclasses$Patch, + testIamPermissions( + params?: Params$Resource$Projects$Locations$Serviceclasses$Testiampermissions, options?: MethodOptions - ): Promise>; - patch( - params: Params$Resource$Projects$Locations$Serviceclasses$Patch, + ): Promise>; + testIamPermissions( + params: Params$Resource$Projects$Locations$Serviceclasses$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Projects$Locations$Serviceclasses$Patch, + testIamPermissions( + params: Params$Resource$Projects$Locations$Serviceclasses$Testiampermissions, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Projects$Locations$Serviceclasses$Patch, - callback: BodyResponseCallback + testIamPermissions( + params: Params$Resource$Projects$Locations$Serviceclasses$Testiampermissions, + callback: BodyResponseCallback ): void; - patch( - callback: BodyResponseCallback + testIamPermissions( + callback: BodyResponseCallback ): void; - patch( + testIamPermissions( paramsOrCallback?: - | Params$Resource$Projects$Locations$Serviceclasses$Patch - | BodyResponseCallback + | Params$Resource$Projects$Locations$Serviceclasses$Testiampermissions + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Serviceclasses$Patch; + {}) as Params$Resource$Projects$Locations$Serviceclasses$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Serviceclasses$Patch; + params = + {} as Params$Resource$Projects$Locations$Serviceclasses$Testiampermissions; options = {}; } @@ -14189,29 +14025,140 @@ export namespace networkconnectivity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'PATCH', + url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['resource'], + pathParams: ['resource'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } + } + export interface Params$Resource$Projects$Locations$Serviceclasses$Delete + extends StandardParameters { /** - * Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. + * Optional. The etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. + */ + etag?: string; + /** + * Required. The name of the ServiceClass to delete. + */ + name?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + } + export interface Params$Resource$Projects$Locations$Serviceclasses$Get + extends StandardParameters { + /** + * Required. Name of the ServiceClass to get. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Serviceclasses$Getiampolicy + extends StandardParameters { + /** + * Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + */ + 'options.requestedPolicyVersion'?: number; + /** + * REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + */ + resource?: string; + } + export interface Params$Resource$Projects$Locations$Serviceclasses$List + extends StandardParameters { + /** + * A filter expression that filters the results listed in the response. + */ + filter?: string; + /** + * Sort the results by a certain order. + */ + orderBy?: string; + /** + * The maximum number of results per page that should be returned. + */ + pageSize?: number; + /** + * The page token. + */ + pageToken?: string; + /** + * Required. The parent resource's name. ex. projects/123/locations/us-east1 + */ + parent?: string; + } + export interface Params$Resource$Projects$Locations$Serviceclasses$Patch + extends StandardParameters { + /** + * Immutable. The name of a ServiceClass resource. Format: projects/{project\}/locations/{location\}/serviceClasses/{service_class\} See: https://google.aip.dev/122#fields-representing-resource-names + */ + name?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** + * Optional. Field mask is used to specify the fields to be overwritten in the ServiceClass resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$ServiceClass; + } + export interface Params$Resource$Projects$Locations$Serviceclasses$Setiampolicy + extends StandardParameters { + /** + * REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + */ + resource?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$SetIamPolicyRequest; + } + export interface Params$Resource$Projects$Locations$Serviceclasses$Testiampermissions + extends StandardParameters { + /** + * REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + */ + resource?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$TestIamPermissionsRequest; + } + + export class Resource$Projects$Locations$Serviceconnectionmaps { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Creates a new ServiceConnectionMap in a given project and location. * @example * ```js * // Before running the sample: @@ -14241,17 +14188,31 @@ export namespace networkconnectivity_v1 { * * // Do the magic * const res = - * await networkconnectivity.projects.locations.serviceClasses.setIamPolicy({ - * // REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - * resource: - * 'projects/my-project/locations/my-location/serviceClasses/my-serviceClasse', + * await networkconnectivity.projects.locations.serviceConnectionMaps.create({ + * // Required. The parent resource's name of the ServiceConnectionMap. ex. projects/123/locations/us-east1 + * parent: 'projects/my-project/locations/my-location', + * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', + * // Optional. Resource ID (i.e. 'foo' in '[...]/projects/p/locations/l/serviceConnectionMaps/foo') See https://google.aip.dev/122#resource-id-segments Unique per location. If one is not provided, one will be generated. + * serviceConnectionMapId: 'placeholder-value', * * // Request body metadata * requestBody: { * // request body parameters * // { - * // "policy": {}, - * // "updateMask": "my_updateMask" + * // "consumerPscConfigs": [], + * // "consumerPscConnections": [], + * // "createTime": "my_createTime", + * // "description": "my_description", + * // "etag": "my_etag", + * // "infrastructure": "my_infrastructure", + * // "labels": {}, + * // "name": "my_name", + * // "producerPscConfigs": [], + * // "serviceClass": "my_serviceClass", + * // "serviceClassUri": "my_serviceClassUri", + * // "token": "my_token", + * // "updateTime": "my_updateTime" * // } * }, * }); @@ -14259,10 +14220,11 @@ export namespace networkconnectivity_v1 { * * // Example response * // { - * // "auditConfigs": [], - * // "bindings": [], - * // "etag": "my_etag", - * // "version": 0 + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} * // } * } * @@ -14278,54 +14240,58 @@ export namespace networkconnectivity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - setIamPolicy( - params: Params$Resource$Projects$Locations$Serviceclasses$Setiampolicy, + create( + params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Create, options: StreamMethodOptions ): Promise>; - setIamPolicy( - params?: Params$Resource$Projects$Locations$Serviceclasses$Setiampolicy, + create( + params?: Params$Resource$Projects$Locations$Serviceconnectionmaps$Create, options?: MethodOptions - ): Promise>; - setIamPolicy( - params: Params$Resource$Projects$Locations$Serviceclasses$Setiampolicy, + ): Promise>; + create( + params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Create, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - setIamPolicy( - params: Params$Resource$Projects$Locations$Serviceclasses$Setiampolicy, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Create, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - setIamPolicy( - params: Params$Resource$Projects$Locations$Serviceclasses$Setiampolicy, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Create, + callback: BodyResponseCallback ): void; - setIamPolicy(callback: BodyResponseCallback): void; - setIamPolicy( + create( + callback: BodyResponseCallback + ): void; + create( paramsOrCallback?: - | Params$Resource$Projects$Locations$Serviceclasses$Setiampolicy - | BodyResponseCallback + | Params$Resource$Projects$Locations$Serviceconnectionmaps$Create + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Serviceclasses$Setiampolicy; + {}) as Params$Resource$Projects$Locations$Serviceconnectionmaps$Create; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Serviceclasses$Setiampolicy; + {} as Params$Resource$Projects$Locations$Serviceconnectionmaps$Create; options = {}; } @@ -14339,7 +14305,7 @@ export namespace networkconnectivity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace( + url: (rootUrl + '/v1/{+parent}/serviceConnectionMaps').replace( /([^:]\/)\/+/g, '$1' ), @@ -14349,22 +14315,22 @@ export namespace networkconnectivity_v1 { options ), params, - requiredParams: ['resource'], - pathParams: ['resource'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. + * Deletes a single ServiceConnectionMap. * @example * ```js * // Before running the sample: @@ -14394,26 +14360,23 @@ export namespace networkconnectivity_v1 { * * // Do the magic * const res = - * await networkconnectivity.projects.locations.serviceClasses.testIamPermissions( - * { - * // REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - * resource: - * 'projects/my-project/locations/my-location/serviceClasses/my-serviceClasse', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "permissions": [] - * // } - * }, - * }, - * ); + * await networkconnectivity.projects.locations.serviceConnectionMaps.delete({ + * // Optional. The etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. + * etag: 'placeholder-value', + * // Required. The name of the ServiceConnectionMap to delete. + * name: 'projects/my-project/locations/my-location/serviceConnectionMaps/my-serviceConnectionMap', + * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', + * }); * console.log(res.data); * * // Example response * // { - * // "permissions": [] + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} * // } * } * @@ -14429,58 +14392,58 @@ export namespace networkconnectivity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - testIamPermissions( - params: Params$Resource$Projects$Locations$Serviceclasses$Testiampermissions, + delete( + params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Delete, options: StreamMethodOptions ): Promise>; - testIamPermissions( - params?: Params$Resource$Projects$Locations$Serviceclasses$Testiampermissions, + delete( + params?: Params$Resource$Projects$Locations$Serviceconnectionmaps$Delete, options?: MethodOptions - ): Promise>; - testIamPermissions( - params: Params$Resource$Projects$Locations$Serviceclasses$Testiampermissions, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Delete, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - testIamPermissions( - params: Params$Resource$Projects$Locations$Serviceclasses$Testiampermissions, + delete( + params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Delete, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - testIamPermissions( - params: Params$Resource$Projects$Locations$Serviceclasses$Testiampermissions, - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Delete, + callback: BodyResponseCallback ): void; - testIamPermissions( - callback: BodyResponseCallback + delete( + callback: BodyResponseCallback ): void; - testIamPermissions( + delete( paramsOrCallback?: - | Params$Resource$Projects$Locations$Serviceclasses$Testiampermissions - | BodyResponseCallback + | Params$Resource$Projects$Locations$Serviceconnectionmaps$Delete + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Serviceclasses$Testiampermissions; + {}) as Params$Resource$Projects$Locations$Serviceconnectionmaps$Delete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Serviceclasses$Testiampermissions; + {} as Params$Resource$Projects$Locations$Serviceconnectionmaps$Delete; options = {}; } @@ -14494,140 +14457,29 @@ export namespace networkconnectivity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'POST', + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', apiVersion: '', }, options ), params, - requiredParams: ['resource'], - pathParams: ['resource'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } - } - - export interface Params$Resource$Projects$Locations$Serviceclasses$Delete - extends StandardParameters { - /** - * Optional. The etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. - */ - etag?: string; - /** - * Required. The name of the ServiceClass to delete. - */ - name?: string; - /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - requestId?: string; - } - export interface Params$Resource$Projects$Locations$Serviceclasses$Get - extends StandardParameters { - /** - * Required. Name of the ServiceClass to get. - */ - name?: string; - } - export interface Params$Resource$Projects$Locations$Serviceclasses$Getiampolicy - extends StandardParameters { - /** - * Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). - */ - 'options.requestedPolicyVersion'?: number; - /** - * REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - */ - resource?: string; - } - export interface Params$Resource$Projects$Locations$Serviceclasses$List - extends StandardParameters { - /** - * A filter expression that filters the results listed in the response. - */ - filter?: string; - /** - * Sort the results by a certain order. - */ - orderBy?: string; - /** - * The maximum number of results per page that should be returned. - */ - pageSize?: number; - /** - * The page token. - */ - pageToken?: string; - /** - * Required. The parent resource's name. ex. projects/123/locations/us-east1 - */ - parent?: string; - } - export interface Params$Resource$Projects$Locations$Serviceclasses$Patch - extends StandardParameters { - /** - * Immutable. The name of a ServiceClass resource. Format: projects/{project\}/locations/{location\}/serviceClasses/{service_class\} See: https://google.aip.dev/122#fields-representing-resource-names - */ - name?: string; - /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - requestId?: string; - /** - * Optional. Field mask is used to specify the fields to be overwritten in the ServiceClass resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. - */ - updateMask?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$ServiceClass; - } - export interface Params$Resource$Projects$Locations$Serviceclasses$Setiampolicy - extends StandardParameters { - /** - * REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - */ - resource?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$SetIamPolicyRequest; - } - export interface Params$Resource$Projects$Locations$Serviceclasses$Testiampermissions - extends StandardParameters { - /** - * REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - */ - resource?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$TestIamPermissionsRequest; - } - - export class Resource$Projects$Locations$Serviceconnectionmaps { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; - } /** - * Creates a new ServiceConnectionMap in a given project and location. + * Gets details of a single ServiceConnectionMap. * @example * ```js * // Before running the sample: @@ -14657,43 +14509,27 @@ export namespace networkconnectivity_v1 { * * // Do the magic * const res = - * await networkconnectivity.projects.locations.serviceConnectionMaps.create({ - * // Required. The parent resource's name of the ServiceConnectionMap. ex. projects/123/locations/us-east1 - * parent: 'projects/my-project/locations/my-location', - * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - * requestId: 'placeholder-value', - * // Optional. Resource ID (i.e. 'foo' in '[...]/projects/p/locations/l/serviceConnectionMaps/foo') See https://google.aip.dev/122#resource-id-segments Unique per location. If one is not provided, one will be generated. - * serviceConnectionMapId: 'placeholder-value', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "consumerPscConfigs": [], - * // "consumerPscConnections": [], - * // "createTime": "my_createTime", - * // "description": "my_description", - * // "etag": "my_etag", - * // "infrastructure": "my_infrastructure", - * // "labels": {}, - * // "name": "my_name", - * // "producerPscConfigs": [], - * // "serviceClass": "my_serviceClass", - * // "serviceClassUri": "my_serviceClassUri", - * // "token": "my_token", - * // "updateTime": "my_updateTime" - * // } - * }, + * await networkconnectivity.projects.locations.serviceConnectionMaps.get({ + * // Required. Name of the ServiceConnectionMap to get. + * name: 'projects/my-project/locations/my-location/serviceConnectionMaps/my-serviceConnectionMap', * }); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, + * // "consumerPscConfigs": [], + * // "consumerPscConnections": [], + * // "createTime": "my_createTime", + * // "description": "my_description", + * // "etag": "my_etag", + * // "infrastructure": "my_infrastructure", + * // "labels": {}, * // "name": "my_name", - * // "response": {} + * // "producerPscConfigs": [], + * // "serviceClass": "my_serviceClass", + * // "serviceClassUri": "my_serviceClassUri", + * // "token": "my_token", + * // "updateTime": "my_updateTime" * // } * } * @@ -14709,58 +14545,56 @@ export namespace networkconnectivity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - create( - params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Create, + get( + params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Get, options: StreamMethodOptions ): Promise>; - create( - params?: Params$Resource$Projects$Locations$Serviceconnectionmaps$Create, + get( + params?: Params$Resource$Projects$Locations$Serviceconnectionmaps$Get, options?: MethodOptions - ): Promise>; - create( - params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Create, + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Create, + get( + params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Get, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - create( - params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Create, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - create( - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Get, + callback: BodyResponseCallback ): void; - create( + get(callback: BodyResponseCallback): void; + get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Serviceconnectionmaps$Create - | BodyResponseCallback + | Params$Resource$Projects$Locations$Serviceconnectionmaps$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Serviceconnectionmaps$Create; + {}) as Params$Resource$Projects$Locations$Serviceconnectionmaps$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Serviceconnectionmaps$Create; + {} as Params$Resource$Projects$Locations$Serviceconnectionmaps$Get; options = {}; } @@ -14774,32 +14608,29 @@ export namespace networkconnectivity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/serviceConnectionMaps').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'POST', + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['parent'], - pathParams: ['parent'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Deletes a single ServiceConnectionMap. + * Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. * @example * ```js * // Before running the sample: @@ -14829,23 +14660,23 @@ export namespace networkconnectivity_v1 { * * // Do the magic * const res = - * await networkconnectivity.projects.locations.serviceConnectionMaps.delete({ - * // Optional. The etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. - * etag: 'placeholder-value', - * // Required. The name of the ServiceConnectionMap to delete. - * name: 'projects/my-project/locations/my-location/serviceConnectionMaps/my-serviceConnectionMap', - * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - * requestId: 'placeholder-value', - * }); + * await networkconnectivity.projects.locations.serviceConnectionMaps.getIamPolicy( + * { + * // Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + * 'options.requestedPolicyVersion': 'placeholder-value', + * // REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + * resource: + * 'projects/my-project/locations/my-location/serviceConnectionMaps/my-serviceConnectionMap', + * }, + * ); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, - * // "name": "my_name", - * // "response": {} + * // "auditConfigs": [], + * // "bindings": [], + * // "etag": "my_etag", + * // "version": 0 * // } * } * @@ -14861,58 +14692,54 @@ export namespace networkconnectivity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - delete( - params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Delete, + getIamPolicy( + params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Getiampolicy, options: StreamMethodOptions ): Promise>; - delete( - params?: Params$Resource$Projects$Locations$Serviceconnectionmaps$Delete, + getIamPolicy( + params?: Params$Resource$Projects$Locations$Serviceconnectionmaps$Getiampolicy, options?: MethodOptions - ): Promise>; - delete( - params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Delete, + ): Promise>; + getIamPolicy( + params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Delete, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - delete( - params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Delete, - callback: BodyResponseCallback + getIamPolicy( + params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Getiampolicy, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - delete( - callback: BodyResponseCallback + getIamPolicy( + params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Getiampolicy, + callback: BodyResponseCallback ): void; - delete( + getIamPolicy(callback: BodyResponseCallback): void; + getIamPolicy( paramsOrCallback?: - | Params$Resource$Projects$Locations$Serviceconnectionmaps$Delete - | BodyResponseCallback + | Params$Resource$Projects$Locations$Serviceconnectionmaps$Getiampolicy + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Serviceconnectionmaps$Delete; + {}) as Params$Resource$Projects$Locations$Serviceconnectionmaps$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Serviceconnectionmaps$Delete; + {} as Params$Resource$Projects$Locations$Serviceconnectionmaps$Getiampolicy; options = {}; } @@ -14926,29 +14753,32 @@ export namespace networkconnectivity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'DELETE', + url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['resource'], + pathParams: ['resource'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Gets details of a single ServiceConnectionMap. + * Lists ServiceConnectionMaps in a given project and location. * @example * ```js * // Before running the sample: @@ -14978,27 +14808,25 @@ export namespace networkconnectivity_v1 { * * // Do the magic * const res = - * await networkconnectivity.projects.locations.serviceConnectionMaps.get({ - * // Required. Name of the ServiceConnectionMap to get. - * name: 'projects/my-project/locations/my-location/serviceConnectionMaps/my-serviceConnectionMap', + * await networkconnectivity.projects.locations.serviceConnectionMaps.list({ + * // A filter expression that filters the results listed in the response. + * filter: 'placeholder-value', + * // Sort the results by a certain order. + * orderBy: 'placeholder-value', + * // The maximum number of results per page that should be returned. + * pageSize: 'placeholder-value', + * // The page token. + * pageToken: 'placeholder-value', + * // Required. The parent resource's name. ex. projects/123/locations/us-east1 + * parent: 'projects/my-project/locations/my-location', * }); * console.log(res.data); * * // Example response * // { - * // "consumerPscConfigs": [], - * // "consumerPscConnections": [], - * // "createTime": "my_createTime", - * // "description": "my_description", - * // "etag": "my_etag", - * // "infrastructure": "my_infrastructure", - * // "labels": {}, - * // "name": "my_name", - * // "producerPscConfigs": [], - * // "serviceClass": "my_serviceClass", - * // "serviceClassUri": "my_serviceClassUri", - * // "token": "my_token", - * // "updateTime": "my_updateTime" + * // "nextPageToken": "my_nextPageToken", + * // "serviceConnectionMaps": [], + * // "unreachable": [] * // } * } * @@ -15014,56 +14842,62 @@ export namespace networkconnectivity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - get( - params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Get, + list( + params: Params$Resource$Projects$Locations$Serviceconnectionmaps$List, options: StreamMethodOptions ): Promise>; - get( - params?: Params$Resource$Projects$Locations$Serviceconnectionmaps$Get, + list( + params?: Params$Resource$Projects$Locations$Serviceconnectionmaps$List, options?: MethodOptions - ): Promise>; - get( - params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Get, + ): Promise< + GaxiosResponseWithHTTP2 + >; + list( + params: Params$Resource$Projects$Locations$Serviceconnectionmaps$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Get, + list( + params: Params$Resource$Projects$Locations$Serviceconnectionmaps$List, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Get, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Serviceconnectionmaps$List, + callback: BodyResponseCallback ): void; - get(callback: BodyResponseCallback): void; - get( + list( + callback: BodyResponseCallback + ): void; + list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Serviceconnectionmaps$Get - | BodyResponseCallback + | Params$Resource$Projects$Locations$Serviceconnectionmaps$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise< + GaxiosResponseWithHTTP2 + > | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Serviceconnectionmaps$Get; + {}) as Params$Resource$Projects$Locations$Serviceconnectionmaps$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Serviceconnectionmaps$Get; + {} as Params$Resource$Projects$Locations$Serviceconnectionmaps$List; options = {}; } @@ -15077,29 +14911,34 @@ export namespace networkconnectivity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + url: (rootUrl + '/v1/{+parent}/serviceConnectionMaps').replace( + /([^:]\/)\/+/g, + '$1' + ), method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest( + parameters + ); } } /** - * Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. + * Updates the parameters of a single ServiceConnectionMap. * @example * ```js * // Before running the sample: @@ -15129,23 +14968,43 @@ export namespace networkconnectivity_v1 { * * // Do the magic * const res = - * await networkconnectivity.projects.locations.serviceConnectionMaps.getIamPolicy( - * { - * // Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). - * 'options.requestedPolicyVersion': 'placeholder-value', - * // REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - * resource: - * 'projects/my-project/locations/my-location/serviceConnectionMaps/my-serviceConnectionMap', + * await networkconnectivity.projects.locations.serviceConnectionMaps.patch({ + * // Immutable. The name of a ServiceConnectionMap. Format: projects/{project\}/locations/{location\}/serviceConnectionMaps/{service_connection_map\} See: https://google.aip.dev/122#fields-representing-resource-names + * name: 'projects/my-project/locations/my-location/serviceConnectionMaps/my-serviceConnectionMap', + * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', + * // Optional. Field mask is used to specify the fields to be overwritten in the ServiceConnectionMap resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. + * updateMask: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "consumerPscConfigs": [], + * // "consumerPscConnections": [], + * // "createTime": "my_createTime", + * // "description": "my_description", + * // "etag": "my_etag", + * // "infrastructure": "my_infrastructure", + * // "labels": {}, + * // "name": "my_name", + * // "producerPscConfigs": [], + * // "serviceClass": "my_serviceClass", + * // "serviceClassUri": "my_serviceClassUri", + * // "token": "my_token", + * // "updateTime": "my_updateTime" + * // } * }, - * ); + * }); * console.log(res.data); * * // Example response * // { - * // "auditConfigs": [], - * // "bindings": [], - * // "etag": "my_etag", - * // "version": 0 + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} * // } * } * @@ -15161,54 +15020,58 @@ export namespace networkconnectivity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - getIamPolicy( - params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Getiampolicy, + patch( + params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Patch, options: StreamMethodOptions ): Promise>; - getIamPolicy( - params?: Params$Resource$Projects$Locations$Serviceconnectionmaps$Getiampolicy, + patch( + params?: Params$Resource$Projects$Locations$Serviceconnectionmaps$Patch, options?: MethodOptions - ): Promise>; - getIamPolicy( - params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Getiampolicy, + ): Promise>; + patch( + params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Patch, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - getIamPolicy( - params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Getiampolicy, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + patch( + params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Patch, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - getIamPolicy( - params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Getiampolicy, - callback: BodyResponseCallback + patch( + params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Patch, + callback: BodyResponseCallback ): void; - getIamPolicy(callback: BodyResponseCallback): void; - getIamPolicy( + patch( + callback: BodyResponseCallback + ): void; + patch( paramsOrCallback?: - | Params$Resource$Projects$Locations$Serviceconnectionmaps$Getiampolicy - | BodyResponseCallback + | Params$Resource$Projects$Locations$Serviceconnectionmaps$Patch + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Serviceconnectionmaps$Getiampolicy; + {}) as Params$Resource$Projects$Locations$Serviceconnectionmaps$Patch; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Serviceconnectionmaps$Getiampolicy; + {} as Params$Resource$Projects$Locations$Serviceconnectionmaps$Patch; options = {}; } @@ -15222,32 +15085,29 @@ export namespace networkconnectivity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'GET', + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', apiVersion: '', }, options ), params, - requiredParams: ['resource'], - pathParams: ['resource'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Lists ServiceConnectionMaps in a given project and location. + * Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. * @example * ```js * // Before running the sample: @@ -15277,25 +15137,30 @@ export namespace networkconnectivity_v1 { * * // Do the magic * const res = - * await networkconnectivity.projects.locations.serviceConnectionMaps.list({ - * // A filter expression that filters the results listed in the response. - * filter: 'placeholder-value', - * // Sort the results by a certain order. - * orderBy: 'placeholder-value', - * // The maximum number of results per page that should be returned. - * pageSize: 'placeholder-value', - * // The page token. - * pageToken: 'placeholder-value', - * // Required. The parent resource's name. ex. projects/123/locations/us-east1 - * parent: 'projects/my-project/locations/my-location', - * }); + * await networkconnectivity.projects.locations.serviceConnectionMaps.setIamPolicy( + * { + * // REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + * resource: + * 'projects/my-project/locations/my-location/serviceConnectionMaps/my-serviceConnectionMap', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "policy": {}, + * // "updateMask": "my_updateMask" + * // } + * }, + * }, + * ); * console.log(res.data); * * // Example response * // { - * // "nextPageToken": "my_nextPageToken", - * // "serviceConnectionMaps": [], - * // "unreachable": [] + * // "auditConfigs": [], + * // "bindings": [], + * // "etag": "my_etag", + * // "version": 0 * // } * } * @@ -15311,62 +15176,54 @@ export namespace networkconnectivity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - list( - params: Params$Resource$Projects$Locations$Serviceconnectionmaps$List, + setIamPolicy( + params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Setiampolicy, options: StreamMethodOptions ): Promise>; - list( - params?: Params$Resource$Projects$Locations$Serviceconnectionmaps$List, + setIamPolicy( + params?: Params$Resource$Projects$Locations$Serviceconnectionmaps$Setiampolicy, options?: MethodOptions - ): Promise< - GaxiosResponseWithHTTP2 - >; - list( - params: Params$Resource$Projects$Locations$Serviceconnectionmaps$List, + ): Promise>; + setIamPolicy( + params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$Serviceconnectionmaps$List, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - list( - params: Params$Resource$Projects$Locations$Serviceconnectionmaps$List, - callback: BodyResponseCallback + setIamPolicy( + params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Setiampolicy, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - list( - callback: BodyResponseCallback + setIamPolicy( + params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Setiampolicy, + callback: BodyResponseCallback ): void; - list( + setIamPolicy(callback: BodyResponseCallback): void; + setIamPolicy( paramsOrCallback?: - | Params$Resource$Projects$Locations$Serviceconnectionmaps$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Serviceconnectionmaps$Setiampolicy + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise< - GaxiosResponseWithHTTP2 - > + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Serviceconnectionmaps$List; + {}) as Params$Resource$Projects$Locations$Serviceconnectionmaps$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Serviceconnectionmaps$List; + {} as Params$Resource$Projects$Locations$Serviceconnectionmaps$Setiampolicy; options = {}; } @@ -15380,34 +15237,32 @@ export namespace networkconnectivity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/serviceConnectionMaps').replace( + url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace( /([^:]\/)\/+/g, '$1' ), - method: 'GET', + method: 'POST', apiVersion: '', }, options ), params, - requiredParams: ['parent'], - pathParams: ['parent'], + requiredParams: ['resource'], + pathParams: ['resource'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( - parameters - ); + return createAPIRequest(parameters); } } /** - * Updates the parameters of a single ServiceConnectionMap. + * Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. * @example * ```js * // Before running the sample: @@ -15437,43 +15292,26 @@ export namespace networkconnectivity_v1 { * * // Do the magic * const res = - * await networkconnectivity.projects.locations.serviceConnectionMaps.patch({ - * // Immutable. The name of a ServiceConnectionMap. Format: projects/{project\}/locations/{location\}/serviceConnectionMaps/{service_connection_map\} See: https://google.aip.dev/122#fields-representing-resource-names - * name: 'projects/my-project/locations/my-location/serviceConnectionMaps/my-serviceConnectionMap', - * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - * requestId: 'placeholder-value', - * // Optional. Field mask is used to specify the fields to be overwritten in the ServiceConnectionMap resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. - * updateMask: 'placeholder-value', + * await networkconnectivity.projects.locations.serviceConnectionMaps.testIamPermissions( + * { + * // REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + * resource: + * 'projects/my-project/locations/my-location/serviceConnectionMaps/my-serviceConnectionMap', * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "consumerPscConfigs": [], - * // "consumerPscConnections": [], - * // "createTime": "my_createTime", - * // "description": "my_description", - * // "etag": "my_etag", - * // "infrastructure": "my_infrastructure", - * // "labels": {}, - * // "name": "my_name", - * // "producerPscConfigs": [], - * // "serviceClass": "my_serviceClass", - * // "serviceClassUri": "my_serviceClassUri", - * // "token": "my_token", - * // "updateTime": "my_updateTime" - * // } + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "permissions": [] + * // } + * }, * }, - * }); + * ); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, - * // "name": "my_name", - * // "response": {} + * // "permissions": [] * // } * } * @@ -15489,58 +15327,58 @@ export namespace networkconnectivity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - patch( - params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Patch, + testIamPermissions( + params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Testiampermissions, options: StreamMethodOptions ): Promise>; - patch( - params?: Params$Resource$Projects$Locations$Serviceconnectionmaps$Patch, + testIamPermissions( + params?: Params$Resource$Projects$Locations$Serviceconnectionmaps$Testiampermissions, options?: MethodOptions - ): Promise>; - patch( - params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Patch, + ): Promise>; + testIamPermissions( + params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Patch, + testIamPermissions( + params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Testiampermissions, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Patch, - callback: BodyResponseCallback + testIamPermissions( + params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Testiampermissions, + callback: BodyResponseCallback ): void; - patch( - callback: BodyResponseCallback + testIamPermissions( + callback: BodyResponseCallback ): void; - patch( + testIamPermissions( paramsOrCallback?: - | Params$Resource$Projects$Locations$Serviceconnectionmaps$Patch - | BodyResponseCallback + | Params$Resource$Projects$Locations$Serviceconnectionmaps$Testiampermissions + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Serviceconnectionmaps$Patch; + {}) as Params$Resource$Projects$Locations$Serviceconnectionmaps$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Serviceconnectionmaps$Patch; + {} as Params$Resource$Projects$Locations$Serviceconnectionmaps$Testiampermissions; options = {}; } @@ -15554,29 +15392,160 @@ export namespace networkconnectivity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'PATCH', + url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['resource'], + pathParams: ['resource'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } + } + export interface Params$Resource$Projects$Locations$Serviceconnectionmaps$Create + extends StandardParameters { /** - * Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. + * Required. The parent resource's name of the ServiceConnectionMap. ex. projects/123/locations/us-east1 + */ + parent?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** + * Optional. Resource ID (i.e. 'foo' in '[...]/projects/p/locations/l/serviceConnectionMaps/foo') See https://google.aip.dev/122#resource-id-segments Unique per location. If one is not provided, one will be generated. + */ + serviceConnectionMapId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$ServiceConnectionMap; + } + export interface Params$Resource$Projects$Locations$Serviceconnectionmaps$Delete + extends StandardParameters { + /** + * Optional. The etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. + */ + etag?: string; + /** + * Required. The name of the ServiceConnectionMap to delete. + */ + name?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + } + export interface Params$Resource$Projects$Locations$Serviceconnectionmaps$Get + extends StandardParameters { + /** + * Required. Name of the ServiceConnectionMap to get. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Serviceconnectionmaps$Getiampolicy + extends StandardParameters { + /** + * Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + */ + 'options.requestedPolicyVersion'?: number; + /** + * REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + */ + resource?: string; + } + export interface Params$Resource$Projects$Locations$Serviceconnectionmaps$List + extends StandardParameters { + /** + * A filter expression that filters the results listed in the response. + */ + filter?: string; + /** + * Sort the results by a certain order. + */ + orderBy?: string; + /** + * The maximum number of results per page that should be returned. + */ + pageSize?: number; + /** + * The page token. + */ + pageToken?: string; + /** + * Required. The parent resource's name. ex. projects/123/locations/us-east1 + */ + parent?: string; + } + export interface Params$Resource$Projects$Locations$Serviceconnectionmaps$Patch + extends StandardParameters { + /** + * Immutable. The name of a ServiceConnectionMap. Format: projects/{project\}/locations/{location\}/serviceConnectionMaps/{service_connection_map\} See: https://google.aip.dev/122#fields-representing-resource-names + */ + name?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** + * Optional. Field mask is used to specify the fields to be overwritten in the ServiceConnectionMap resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$ServiceConnectionMap; + } + export interface Params$Resource$Projects$Locations$Serviceconnectionmaps$Setiampolicy + extends StandardParameters { + /** + * REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + */ + resource?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$SetIamPolicyRequest; + } + export interface Params$Resource$Projects$Locations$Serviceconnectionmaps$Testiampermissions + extends StandardParameters { + /** + * REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + */ + resource?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$TestIamPermissionsRequest; + } + + export class Resource$Projects$Locations$Serviceconnectionpolicies { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Creates a new ServiceConnectionPolicy in a given project and location. * @example * ```js * // Before running the sample: @@ -15606,18 +15575,39 @@ export namespace networkconnectivity_v1 { * * // Do the magic * const res = - * await networkconnectivity.projects.locations.serviceConnectionMaps.setIamPolicy( + * await networkconnectivity.projects.locations.serviceConnectionPolicies.create( * { - * // REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - * resource: - * 'projects/my-project/locations/my-location/serviceConnectionMaps/my-serviceConnectionMap', + * // Optional. The space where we search for a free range to create a subnetwork. It can be narrow down or pick a different space. This is in standard CIDR format. If not specified, “10.0.0.0/8” is used. Only eligible for IPV4_ONLY and IPV4_IPV6 subnetwork. + * 'autoSubnetworkConfig.allocRangeSpace': 'placeholder-value', + * // Optional. The requested IP stack for the subnetwork. If not specified, IPv4 is used. + * 'autoSubnetworkConfig.ipStack': 'placeholder-value', + * // Optional. The desired prefix length for the subnet's IP address range. E.g., 24 for a /24. The actual range is allocated from available space. If not specified, 24 is used. Only eligible for IPV4_ONLY and IPV4_IPV6 subnetwork. + * 'autoSubnetworkConfig.prefixLength': 'placeholder-value', + * // Required. The parent resource's name of the ServiceConnectionPolicy. ex. projects/123/locations/us-east1 + * parent: 'projects/my-project/locations/my-location', + * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', + * // Optional. Resource ID (i.e. 'foo' in '[...]/projects/p/locations/l/serviceConnectionPolicies/foo') See https://google.aip.dev/122#resource-id-segments Unique per location. + * serviceConnectionPolicyId: 'placeholder-value', + * // Optional. If this field is not set, USER_PROVIDED is the inferred value to use. + * subnetworkMode: 'placeholder-value', * * // Request body metadata * requestBody: { * // request body parameters * // { - * // "policy": {}, - * // "updateMask": "my_updateMask" + * // "autoCreatedSubnetInfo": {}, + * // "createTime": "my_createTime", + * // "description": "my_description", + * // "etag": "my_etag", + * // "infrastructure": "my_infrastructure", + * // "labels": {}, + * // "name": "my_name", + * // "network": "my_network", + * // "pscConfig": {}, + * // "pscConnections": [], + * // "serviceClass": "my_serviceClass", + * // "updateTime": "my_updateTime" * // } * }, * }, @@ -15626,10 +15616,11 @@ export namespace networkconnectivity_v1 { * * // Example response * // { - * // "auditConfigs": [], - * // "bindings": [], - * // "etag": "my_etag", - * // "version": 0 + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} * // } * } * @@ -15645,54 +15636,58 @@ export namespace networkconnectivity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - setIamPolicy( - params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Setiampolicy, + create( + params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Create, options: StreamMethodOptions ): Promise>; - setIamPolicy( - params?: Params$Resource$Projects$Locations$Serviceconnectionmaps$Setiampolicy, + create( + params?: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Create, options?: MethodOptions - ): Promise>; - setIamPolicy( - params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Setiampolicy, + ): Promise>; + create( + params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Create, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - setIamPolicy( - params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Setiampolicy, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Create, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - setIamPolicy( - params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Setiampolicy, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Create, + callback: BodyResponseCallback ): void; - setIamPolicy(callback: BodyResponseCallback): void; - setIamPolicy( + create( + callback: BodyResponseCallback + ): void; + create( paramsOrCallback?: - | Params$Resource$Projects$Locations$Serviceconnectionmaps$Setiampolicy - | BodyResponseCallback + | Params$Resource$Projects$Locations$Serviceconnectionpolicies$Create + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Serviceconnectionmaps$Setiampolicy; + {}) as Params$Resource$Projects$Locations$Serviceconnectionpolicies$Create; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Serviceconnectionmaps$Setiampolicy; + {} as Params$Resource$Projects$Locations$Serviceconnectionpolicies$Create; options = {}; } @@ -15706,7 +15701,7 @@ export namespace networkconnectivity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace( + url: (rootUrl + '/v1/{+parent}/serviceConnectionPolicies').replace( /([^:]\/)\/+/g, '$1' ), @@ -15716,22 +15711,22 @@ export namespace networkconnectivity_v1 { options ), params, - requiredParams: ['resource'], - pathParams: ['resource'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. + * Deletes a single ServiceConnectionPolicy. * @example * ```js * // Before running the sample: @@ -15761,26 +15756,25 @@ export namespace networkconnectivity_v1 { * * // Do the magic * const res = - * await networkconnectivity.projects.locations.serviceConnectionMaps.testIamPermissions( + * await networkconnectivity.projects.locations.serviceConnectionPolicies.delete( * { - * // REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - * resource: - * 'projects/my-project/locations/my-location/serviceConnectionMaps/my-serviceConnectionMap', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "permissions": [] - * // } - * }, + * // Optional. The etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. + * etag: 'placeholder-value', + * // Required. The name of the ServiceConnectionPolicy to delete. + * name: 'projects/my-project/locations/my-location/serviceConnectionPolicies/my-serviceConnectionPolicie', + * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', * }, * ); * console.log(res.data); * * // Example response * // { - * // "permissions": [] + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} * // } * } * @@ -15796,58 +15790,58 @@ export namespace networkconnectivity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - testIamPermissions( - params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Testiampermissions, + delete( + params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Delete, options: StreamMethodOptions ): Promise>; - testIamPermissions( - params?: Params$Resource$Projects$Locations$Serviceconnectionmaps$Testiampermissions, + delete( + params?: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Delete, options?: MethodOptions - ): Promise>; - testIamPermissions( - params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Testiampermissions, + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - testIamPermissions( - params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Testiampermissions, + delete( + params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Delete, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - testIamPermissions( - params: Params$Resource$Projects$Locations$Serviceconnectionmaps$Testiampermissions, - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Delete, + callback: BodyResponseCallback ): void; - testIamPermissions( - callback: BodyResponseCallback + delete( + callback: BodyResponseCallback ): void; - testIamPermissions( + delete( paramsOrCallback?: - | Params$Resource$Projects$Locations$Serviceconnectionmaps$Testiampermissions - | BodyResponseCallback + | Params$Resource$Projects$Locations$Serviceconnectionpolicies$Delete + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Serviceconnectionmaps$Testiampermissions; + {}) as Params$Resource$Projects$Locations$Serviceconnectionpolicies$Delete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Serviceconnectionmaps$Testiampermissions; + {} as Params$Resource$Projects$Locations$Serviceconnectionpolicies$Delete; options = {}; } @@ -15861,160 +15855,29 @@ export namespace networkconnectivity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'POST', + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', apiVersion: '', }, options ), params, - requiredParams: ['resource'], - pathParams: ['resource'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } - } - - export interface Params$Resource$Projects$Locations$Serviceconnectionmaps$Create - extends StandardParameters { - /** - * Required. The parent resource's name of the ServiceConnectionMap. ex. projects/123/locations/us-east1 - */ - parent?: string; - /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - requestId?: string; - /** - * Optional. Resource ID (i.e. 'foo' in '[...]/projects/p/locations/l/serviceConnectionMaps/foo') See https://google.aip.dev/122#resource-id-segments Unique per location. If one is not provided, one will be generated. - */ - serviceConnectionMapId?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$ServiceConnectionMap; - } - export interface Params$Resource$Projects$Locations$Serviceconnectionmaps$Delete - extends StandardParameters { - /** - * Optional. The etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. - */ - etag?: string; - /** - * Required. The name of the ServiceConnectionMap to delete. - */ - name?: string; - /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - requestId?: string; - } - export interface Params$Resource$Projects$Locations$Serviceconnectionmaps$Get - extends StandardParameters { - /** - * Required. Name of the ServiceConnectionMap to get. - */ - name?: string; - } - export interface Params$Resource$Projects$Locations$Serviceconnectionmaps$Getiampolicy - extends StandardParameters { - /** - * Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). - */ - 'options.requestedPolicyVersion'?: number; - /** - * REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - */ - resource?: string; - } - export interface Params$Resource$Projects$Locations$Serviceconnectionmaps$List - extends StandardParameters { - /** - * A filter expression that filters the results listed in the response. - */ - filter?: string; - /** - * Sort the results by a certain order. - */ - orderBy?: string; - /** - * The maximum number of results per page that should be returned. - */ - pageSize?: number; - /** - * The page token. - */ - pageToken?: string; - /** - * Required. The parent resource's name. ex. projects/123/locations/us-east1 - */ - parent?: string; - } - export interface Params$Resource$Projects$Locations$Serviceconnectionmaps$Patch - extends StandardParameters { - /** - * Immutable. The name of a ServiceConnectionMap. Format: projects/{project\}/locations/{location\}/serviceConnectionMaps/{service_connection_map\} See: https://google.aip.dev/122#fields-representing-resource-names - */ - name?: string; - /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - requestId?: string; - /** - * Optional. Field mask is used to specify the fields to be overwritten in the ServiceConnectionMap resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. - */ - updateMask?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$ServiceConnectionMap; - } - export interface Params$Resource$Projects$Locations$Serviceconnectionmaps$Setiampolicy - extends StandardParameters { - /** - * REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - */ - resource?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$SetIamPolicyRequest; - } - export interface Params$Resource$Projects$Locations$Serviceconnectionmaps$Testiampermissions - extends StandardParameters { - /** - * REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - */ - resource?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$TestIamPermissionsRequest; - } - - export class Resource$Projects$Locations$Serviceconnectionpolicies { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; - } /** - * Creates a new ServiceConnectionPolicy in a given project and location. + * Gets details of a single ServiceConnectionPolicy. * @example * ```js * // Before running the sample: @@ -16044,52 +15907,26 @@ export namespace networkconnectivity_v1 { * * // Do the magic * const res = - * await networkconnectivity.projects.locations.serviceConnectionPolicies.create( - * { - * // Optional. The space where we search for a free range to create a subnetwork. It can be narrow down or pick a different space. This is in standard CIDR format. If not specified, “10.0.0.0/8” is used. Only eligible for IPV4_ONLY and IPV4_IPV6 subnetwork. - * 'autoSubnetworkConfig.allocRangeSpace': 'placeholder-value', - * // Optional. The requested IP stack for the subnetwork. If not specified, IPv4 is used. - * 'autoSubnetworkConfig.ipStack': 'placeholder-value', - * // Optional. The desired prefix length for the subnet's IP address range. E.g., 24 for a /24. The actual range is allocated from available space. If not specified, 24 is used. Only eligible for IPV4_ONLY and IPV4_IPV6 subnetwork. - * 'autoSubnetworkConfig.prefixLength': 'placeholder-value', - * // Required. The parent resource's name of the ServiceConnectionPolicy. ex. projects/123/locations/us-east1 - * parent: 'projects/my-project/locations/my-location', - * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - * requestId: 'placeholder-value', - * // Optional. Resource ID (i.e. 'foo' in '[...]/projects/p/locations/l/serviceConnectionPolicies/foo') See https://google.aip.dev/122#resource-id-segments Unique per location. - * serviceConnectionPolicyId: 'placeholder-value', - * // Optional. If this field is not set, USER_PROVIDED is the inferred value to use. - * subnetworkMode: 'placeholder-value', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "autoCreatedSubnetInfo": {}, - * // "createTime": "my_createTime", - * // "description": "my_description", - * // "etag": "my_etag", - * // "infrastructure": "my_infrastructure", - * // "labels": {}, - * // "name": "my_name", - * // "network": "my_network", - * // "pscConfig": {}, - * // "pscConnections": [], - * // "serviceClass": "my_serviceClass", - * // "updateTime": "my_updateTime" - * // } - * }, - * }, - * ); - * console.log(res.data); + * await networkconnectivity.projects.locations.serviceConnectionPolicies.get({ + * // Required. Name of the ServiceConnectionPolicy to get. + * name: 'projects/my-project/locations/my-location/serviceConnectionPolicies/my-serviceConnectionPolicie', + * }); + * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, + * // "autoCreatedSubnetInfo": {}, + * // "createTime": "my_createTime", + * // "description": "my_description", + * // "etag": "my_etag", + * // "infrastructure": "my_infrastructure", + * // "labels": {}, * // "name": "my_name", - * // "response": {} + * // "network": "my_network", + * // "pscConfig": {}, + * // "pscConnections": [], + * // "serviceClass": "my_serviceClass", + * // "updateTime": "my_updateTime" * // } * } * @@ -16105,58 +15942,56 @@ export namespace networkconnectivity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - create( - params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Create, + get( + params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Get, options: StreamMethodOptions ): Promise>; - create( - params?: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Create, + get( + params?: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Get, options?: MethodOptions - ): Promise>; - create( - params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Create, + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Create, + get( + params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Get, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - create( - params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Create, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - create( - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Get, + callback: BodyResponseCallback ): void; - create( + get(callback: BodyResponseCallback): void; + get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Serviceconnectionpolicies$Create - | BodyResponseCallback + | Params$Resource$Projects$Locations$Serviceconnectionpolicies$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Serviceconnectionpolicies$Create; + {}) as Params$Resource$Projects$Locations$Serviceconnectionpolicies$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Serviceconnectionpolicies$Create; + {} as Params$Resource$Projects$Locations$Serviceconnectionpolicies$Get; options = {}; } @@ -16170,32 +16005,29 @@ export namespace networkconnectivity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/serviceConnectionPolicies').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'POST', + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['parent'], - pathParams: ['parent'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Deletes a single ServiceConnectionPolicy. + * Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. * @example * ```js * // Before running the sample: @@ -16225,25 +16057,23 @@ export namespace networkconnectivity_v1 { * * // Do the magic * const res = - * await networkconnectivity.projects.locations.serviceConnectionPolicies.delete( + * await networkconnectivity.projects.locations.serviceConnectionPolicies.getIamPolicy( * { - * // Optional. The etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. - * etag: 'placeholder-value', - * // Required. The name of the ServiceConnectionPolicy to delete. - * name: 'projects/my-project/locations/my-location/serviceConnectionPolicies/my-serviceConnectionPolicie', - * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - * requestId: 'placeholder-value', + * // Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + * 'options.requestedPolicyVersion': 'placeholder-value', + * // REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + * resource: + * 'projects/my-project/locations/my-location/serviceConnectionPolicies/my-serviceConnectionPolicie', * }, * ); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, - * // "name": "my_name", - * // "response": {} + * // "auditConfigs": [], + * // "bindings": [], + * // "etag": "my_etag", + * // "version": 0 * // } * } * @@ -16259,58 +16089,54 @@ export namespace networkconnectivity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - delete( - params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Delete, + getIamPolicy( + params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Getiampolicy, options: StreamMethodOptions ): Promise>; - delete( - params?: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Delete, + getIamPolicy( + params?: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Getiampolicy, options?: MethodOptions - ): Promise>; - delete( - params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Delete, + ): Promise>; + getIamPolicy( + params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Delete, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - delete( - params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Delete, - callback: BodyResponseCallback + getIamPolicy( + params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Getiampolicy, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - delete( - callback: BodyResponseCallback + getIamPolicy( + params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Getiampolicy, + callback: BodyResponseCallback ): void; - delete( + getIamPolicy(callback: BodyResponseCallback): void; + getIamPolicy( paramsOrCallback?: - | Params$Resource$Projects$Locations$Serviceconnectionpolicies$Delete - | BodyResponseCallback + | Params$Resource$Projects$Locations$Serviceconnectionpolicies$Getiampolicy + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Serviceconnectionpolicies$Delete; + {}) as Params$Resource$Projects$Locations$Serviceconnectionpolicies$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Serviceconnectionpolicies$Delete; + {} as Params$Resource$Projects$Locations$Serviceconnectionpolicies$Getiampolicy; options = {}; } @@ -16324,29 +16150,32 @@ export namespace networkconnectivity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'DELETE', + url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['resource'], + pathParams: ['resource'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Gets details of a single ServiceConnectionPolicy. + * Lists ServiceConnectionPolicies in a given project and location. * @example * ```js * // Before running the sample: @@ -16376,26 +16205,27 @@ export namespace networkconnectivity_v1 { * * // Do the magic * const res = - * await networkconnectivity.projects.locations.serviceConnectionPolicies.get({ - * // Required. Name of the ServiceConnectionPolicy to get. - * name: 'projects/my-project/locations/my-location/serviceConnectionPolicies/my-serviceConnectionPolicie', - * }); + * await networkconnectivity.projects.locations.serviceConnectionPolicies.list( + * { + * // A filter expression that filters the results listed in the response. + * filter: 'placeholder-value', + * // Sort the results by a certain order. + * orderBy: 'placeholder-value', + * // The maximum number of results per page that should be returned. + * pageSize: 'placeholder-value', + * // The page token. + * pageToken: 'placeholder-value', + * // Required. The parent resource's name. ex. projects/123/locations/us-east1 + * parent: 'projects/my-project/locations/my-location', + * }, + * ); * console.log(res.data); * * // Example response * // { - * // "autoCreatedSubnetInfo": {}, - * // "createTime": "my_createTime", - * // "description": "my_description", - * // "etag": "my_etag", - * // "infrastructure": "my_infrastructure", - * // "labels": {}, - * // "name": "my_name", - * // "network": "my_network", - * // "pscConfig": {}, - * // "pscConnections": [], - * // "serviceClass": "my_serviceClass", - * // "updateTime": "my_updateTime" + * // "nextPageToken": "my_nextPageToken", + * // "serviceConnectionPolicies": [], + * // "unreachable": [] * // } * } * @@ -16411,56 +16241,62 @@ export namespace networkconnectivity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - get( - params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Get, + list( + params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$List, options: StreamMethodOptions ): Promise>; - get( - params?: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Get, + list( + params?: Params$Resource$Projects$Locations$Serviceconnectionpolicies$List, options?: MethodOptions - ): Promise>; - get( - params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Get, + ): Promise< + GaxiosResponseWithHTTP2 + >; + list( + params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Get, + list( + params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$List, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Get, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$List, + callback: BodyResponseCallback ): void; - get(callback: BodyResponseCallback): void; - get( + list( + callback: BodyResponseCallback + ): void; + list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Serviceconnectionpolicies$Get - | BodyResponseCallback + | Params$Resource$Projects$Locations$Serviceconnectionpolicies$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise< + GaxiosResponseWithHTTP2 + > | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Serviceconnectionpolicies$Get; + {}) as Params$Resource$Projects$Locations$Serviceconnectionpolicies$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Serviceconnectionpolicies$Get; + {} as Params$Resource$Projects$Locations$Serviceconnectionpolicies$List; options = {}; } @@ -16474,29 +16310,34 @@ export namespace networkconnectivity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + url: (rootUrl + '/v1/{+parent}/serviceConnectionPolicies').replace( + /([^:]\/)\/+/g, + '$1' + ), method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest( + parameters + ); } } /** - * Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. + * Updates the parameters of a single ServiceConnectionPolicy. * @example * ```js * // Before running the sample: @@ -16526,23 +16367,44 @@ export namespace networkconnectivity_v1 { * * // Do the magic * const res = - * await networkconnectivity.projects.locations.serviceConnectionPolicies.getIamPolicy( + * await networkconnectivity.projects.locations.serviceConnectionPolicies.patch( * { - * // Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). - * 'options.requestedPolicyVersion': 'placeholder-value', - * // REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - * resource: - * 'projects/my-project/locations/my-location/serviceConnectionPolicies/my-serviceConnectionPolicie', + * // Immutable. The name of a ServiceConnectionPolicy. Format: projects/{project\}/locations/{location\}/serviceConnectionPolicies/{service_connection_policy\} See: https://google.aip.dev/122#fields-representing-resource-names + * name: 'projects/my-project/locations/my-location/serviceConnectionPolicies/my-serviceConnectionPolicie', + * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', + * // Optional. Field mask is used to specify the fields to be overwritten in the ServiceConnectionPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. + * updateMask: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "autoCreatedSubnetInfo": {}, + * // "createTime": "my_createTime", + * // "description": "my_description", + * // "etag": "my_etag", + * // "infrastructure": "my_infrastructure", + * // "labels": {}, + * // "name": "my_name", + * // "network": "my_network", + * // "pscConfig": {}, + * // "pscConnections": [], + * // "serviceClass": "my_serviceClass", + * // "updateTime": "my_updateTime" + * // } + * }, * }, * ); * console.log(res.data); * * // Example response * // { - * // "auditConfigs": [], - * // "bindings": [], - * // "etag": "my_etag", - * // "version": 0 + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} * // } * } * @@ -16558,54 +16420,58 @@ export namespace networkconnectivity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - getIamPolicy( - params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Getiampolicy, + patch( + params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Patch, options: StreamMethodOptions ): Promise>; - getIamPolicy( - params?: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Getiampolicy, + patch( + params?: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Patch, options?: MethodOptions - ): Promise>; - getIamPolicy( - params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Getiampolicy, + ): Promise>; + patch( + params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Patch, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - getIamPolicy( - params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Getiampolicy, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + patch( + params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Patch, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - getIamPolicy( - params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Getiampolicy, - callback: BodyResponseCallback + patch( + params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Patch, + callback: BodyResponseCallback ): void; - getIamPolicy(callback: BodyResponseCallback): void; - getIamPolicy( + patch( + callback: BodyResponseCallback + ): void; + patch( paramsOrCallback?: - | Params$Resource$Projects$Locations$Serviceconnectionpolicies$Getiampolicy - | BodyResponseCallback + | Params$Resource$Projects$Locations$Serviceconnectionpolicies$Patch + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Serviceconnectionpolicies$Getiampolicy; + {}) as Params$Resource$Projects$Locations$Serviceconnectionpolicies$Patch; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Serviceconnectionpolicies$Getiampolicy; + {} as Params$Resource$Projects$Locations$Serviceconnectionpolicies$Patch; options = {}; } @@ -16619,32 +16485,29 @@ export namespace networkconnectivity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'GET', + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', apiVersion: '', }, options ), params, - requiredParams: ['resource'], - pathParams: ['resource'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Lists ServiceConnectionPolicies in a given project and location. + * Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. * @example * ```js * // Before running the sample: @@ -16674,27 +16537,30 @@ export namespace networkconnectivity_v1 { * * // Do the magic * const res = - * await networkconnectivity.projects.locations.serviceConnectionPolicies.list( + * await networkconnectivity.projects.locations.serviceConnectionPolicies.setIamPolicy( * { - * // A filter expression that filters the results listed in the response. - * filter: 'placeholder-value', - * // Sort the results by a certain order. - * orderBy: 'placeholder-value', - * // The maximum number of results per page that should be returned. - * pageSize: 'placeholder-value', - * // The page token. - * pageToken: 'placeholder-value', - * // Required. The parent resource's name. ex. projects/123/locations/us-east1 - * parent: 'projects/my-project/locations/my-location', + * // REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + * resource: + * 'projects/my-project/locations/my-location/serviceConnectionPolicies/my-serviceConnectionPolicie', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "policy": {}, + * // "updateMask": "my_updateMask" + * // } + * }, * }, * ); * console.log(res.data); * * // Example response * // { - * // "nextPageToken": "my_nextPageToken", - * // "serviceConnectionPolicies": [], - * // "unreachable": [] + * // "auditConfigs": [], + * // "bindings": [], + * // "etag": "my_etag", + * // "version": 0 * // } * } * @@ -16710,62 +16576,54 @@ export namespace networkconnectivity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - list( - params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$List, + setIamPolicy( + params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Setiampolicy, options: StreamMethodOptions ): Promise>; - list( - params?: Params$Resource$Projects$Locations$Serviceconnectionpolicies$List, + setIamPolicy( + params?: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Setiampolicy, options?: MethodOptions - ): Promise< - GaxiosResponseWithHTTP2 - >; - list( - params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$List, + ): Promise>; + setIamPolicy( + params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$List, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - list( - params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$List, - callback: BodyResponseCallback + setIamPolicy( + params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Setiampolicy, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - list( - callback: BodyResponseCallback + setIamPolicy( + params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Setiampolicy, + callback: BodyResponseCallback ): void; - list( + setIamPolicy(callback: BodyResponseCallback): void; + setIamPolicy( paramsOrCallback?: - | Params$Resource$Projects$Locations$Serviceconnectionpolicies$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Serviceconnectionpolicies$Setiampolicy + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise< - GaxiosResponseWithHTTP2 - > + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Serviceconnectionpolicies$List; + {}) as Params$Resource$Projects$Locations$Serviceconnectionpolicies$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Serviceconnectionpolicies$List; + {} as Params$Resource$Projects$Locations$Serviceconnectionpolicies$Setiampolicy; options = {}; } @@ -16779,34 +16637,32 @@ export namespace networkconnectivity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/serviceConnectionPolicies').replace( + url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace( /([^:]\/)\/+/g, '$1' ), - method: 'GET', + method: 'POST', apiVersion: '', }, options ), params, - requiredParams: ['parent'], - pathParams: ['parent'], + requiredParams: ['resource'], + pathParams: ['resource'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest( - parameters - ); + return createAPIRequest(parameters); } } /** - * Updates the parameters of a single ServiceConnectionPolicy. + * Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. * @example * ```js * // Before running the sample: @@ -16836,31 +16692,17 @@ export namespace networkconnectivity_v1 { * * // Do the magic * const res = - * await networkconnectivity.projects.locations.serviceConnectionPolicies.patch( + * await networkconnectivity.projects.locations.serviceConnectionPolicies.testIamPermissions( * { - * // Immutable. The name of a ServiceConnectionPolicy. Format: projects/{project\}/locations/{location\}/serviceConnectionPolicies/{service_connection_policy\} See: https://google.aip.dev/122#fields-representing-resource-names - * name: 'projects/my-project/locations/my-location/serviceConnectionPolicies/my-serviceConnectionPolicie', - * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - * requestId: 'placeholder-value', - * // Optional. Field mask is used to specify the fields to be overwritten in the ServiceConnectionPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. - * updateMask: 'placeholder-value', + * // REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + * resource: + * 'projects/my-project/locations/my-location/serviceConnectionPolicies/my-serviceConnectionPolicie', * * // Request body metadata * requestBody: { * // request body parameters * // { - * // "autoCreatedSubnetInfo": {}, - * // "createTime": "my_createTime", - * // "description": "my_description", - * // "etag": "my_etag", - * // "infrastructure": "my_infrastructure", - * // "labels": {}, - * // "name": "my_name", - * // "network": "my_network", - * // "pscConfig": {}, - * // "pscConnections": [], - * // "serviceClass": "my_serviceClass", - * // "updateTime": "my_updateTime" + * // "permissions": [] * // } * }, * }, @@ -16869,11 +16711,7 @@ export namespace networkconnectivity_v1 { * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, - * // "name": "my_name", - * // "response": {} + * // "permissions": [] * // } * } * @@ -16889,58 +16727,58 @@ export namespace networkconnectivity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - patch( - params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Patch, + testIamPermissions( + params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Testiampermissions, options: StreamMethodOptions ): Promise>; - patch( - params?: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Patch, + testIamPermissions( + params?: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Testiampermissions, options?: MethodOptions - ): Promise>; - patch( - params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Patch, + ): Promise>; + testIamPermissions( + params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Patch, + testIamPermissions( + params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Testiampermissions, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Patch, - callback: BodyResponseCallback + testIamPermissions( + params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Testiampermissions, + callback: BodyResponseCallback ): void; - patch( - callback: BodyResponseCallback + testIamPermissions( + callback: BodyResponseCallback ): void; - patch( + testIamPermissions( paramsOrCallback?: - | Params$Resource$Projects$Locations$Serviceconnectionpolicies$Patch - | BodyResponseCallback + | Params$Resource$Projects$Locations$Serviceconnectionpolicies$Testiampermissions + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Serviceconnectionpolicies$Patch; + {}) as Params$Resource$Projects$Locations$Serviceconnectionpolicies$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Serviceconnectionpolicies$Patch; + {} as Params$Resource$Projects$Locations$Serviceconnectionpolicies$Testiampermissions; options = {}; } @@ -16954,29 +16792,176 @@ export namespace networkconnectivity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'PATCH', + url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['resource'], + pathParams: ['resource'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } + } + export interface Params$Resource$Projects$Locations$Serviceconnectionpolicies$Create + extends StandardParameters { /** - * Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. + * Optional. The space where we search for a free range to create a subnetwork. It can be narrow down or pick a different space. This is in standard CIDR format. If not specified, “10.0.0.0/8” is used. Only eligible for IPV4_ONLY and IPV4_IPV6 subnetwork. + */ + 'autoSubnetworkConfig.allocRangeSpace'?: string[]; + /** + * Optional. The requested IP stack for the subnetwork. If not specified, IPv4 is used. + */ + 'autoSubnetworkConfig.ipStack'?: string; + /** + * Optional. The desired prefix length for the subnet's IP address range. E.g., 24 for a /24. The actual range is allocated from available space. If not specified, 24 is used. Only eligible for IPV4_ONLY and IPV4_IPV6 subnetwork. + */ + 'autoSubnetworkConfig.prefixLength'?: number; + /** + * Required. The parent resource's name of the ServiceConnectionPolicy. ex. projects/123/locations/us-east1 + */ + parent?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** + * Optional. Resource ID (i.e. 'foo' in '[...]/projects/p/locations/l/serviceConnectionPolicies/foo') See https://google.aip.dev/122#resource-id-segments Unique per location. + */ + serviceConnectionPolicyId?: string; + /** + * Optional. If this field is not set, USER_PROVIDED is the inferred value to use. + */ + subnetworkMode?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$ServiceConnectionPolicy; + } + export interface Params$Resource$Projects$Locations$Serviceconnectionpolicies$Delete + extends StandardParameters { + /** + * Optional. The etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. + */ + etag?: string; + /** + * Required. The name of the ServiceConnectionPolicy to delete. + */ + name?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + } + export interface Params$Resource$Projects$Locations$Serviceconnectionpolicies$Get + extends StandardParameters { + /** + * Required. Name of the ServiceConnectionPolicy to get. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Serviceconnectionpolicies$Getiampolicy + extends StandardParameters { + /** + * Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + */ + 'options.requestedPolicyVersion'?: number; + /** + * REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + */ + resource?: string; + } + export interface Params$Resource$Projects$Locations$Serviceconnectionpolicies$List + extends StandardParameters { + /** + * A filter expression that filters the results listed in the response. + */ + filter?: string; + /** + * Sort the results by a certain order. + */ + orderBy?: string; + /** + * The maximum number of results per page that should be returned. + */ + pageSize?: number; + /** + * The page token. + */ + pageToken?: string; + /** + * Required. The parent resource's name. ex. projects/123/locations/us-east1 + */ + parent?: string; + } + export interface Params$Resource$Projects$Locations$Serviceconnectionpolicies$Patch + extends StandardParameters { + /** + * Immutable. The name of a ServiceConnectionPolicy. Format: projects/{project\}/locations/{location\}/serviceConnectionPolicies/{service_connection_policy\} See: https://google.aip.dev/122#fields-representing-resource-names + */ + name?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** + * Optional. Field mask is used to specify the fields to be overwritten in the ServiceConnectionPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. + */ + updateMask?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$ServiceConnectionPolicy; + } + export interface Params$Resource$Projects$Locations$Serviceconnectionpolicies$Setiampolicy + extends StandardParameters { + /** + * REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + */ + resource?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$SetIamPolicyRequest; + } + export interface Params$Resource$Projects$Locations$Serviceconnectionpolicies$Testiampermissions + extends StandardParameters { + /** + * REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + */ + resource?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$TestIamPermissionsRequest; + } + + export class Resource$Projects$Locations$Serviceconnectiontokens { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Creates a new ServiceConnectionToken in a given project and location. * @example * ```js * // Before running the sample: @@ -17006,18 +16991,28 @@ export namespace networkconnectivity_v1 { * * // Do the magic * const res = - * await networkconnectivity.projects.locations.serviceConnectionPolicies.setIamPolicy( + * await networkconnectivity.projects.locations.serviceConnectionTokens.create( * { - * // REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - * resource: - * 'projects/my-project/locations/my-location/serviceConnectionPolicies/my-serviceConnectionPolicie', + * // Required. The parent resource's name of the ServiceConnectionToken. ex. projects/123/locations/us-east1 + * parent: 'projects/my-project/locations/my-location', + * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', + * // Optional. Resource ID (i.e. 'foo' in '[...]/projects/p/locations/l/ServiceConnectionTokens/foo') See https://google.aip.dev/122#resource-id-segments Unique per location. If one is not provided, one will be generated. + * serviceConnectionTokenId: 'placeholder-value', * * // Request body metadata * requestBody: { * // request body parameters * // { - * // "policy": {}, - * // "updateMask": "my_updateMask" + * // "createTime": "my_createTime", + * // "description": "my_description", + * // "etag": "my_etag", + * // "expireTime": "my_expireTime", + * // "labels": {}, + * // "name": "my_name", + * // "network": "my_network", + * // "token": "my_token", + * // "updateTime": "my_updateTime" * // } * }, * }, @@ -17026,10 +17021,11 @@ export namespace networkconnectivity_v1 { * * // Example response * // { - * // "auditConfigs": [], - * // "bindings": [], - * // "etag": "my_etag", - * // "version": 0 + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} * // } * } * @@ -17045,54 +17041,58 @@ export namespace networkconnectivity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - setIamPolicy( - params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Setiampolicy, + create( + params: Params$Resource$Projects$Locations$Serviceconnectiontokens$Create, options: StreamMethodOptions ): Promise>; - setIamPolicy( - params?: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Setiampolicy, + create( + params?: Params$Resource$Projects$Locations$Serviceconnectiontokens$Create, options?: MethodOptions - ): Promise>; - setIamPolicy( - params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Setiampolicy, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + ): Promise>; + create( + params: Params$Resource$Projects$Locations$Serviceconnectiontokens$Create, + options: StreamMethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - setIamPolicy( - params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Setiampolicy, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Serviceconnectiontokens$Create, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - setIamPolicy( - params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Setiampolicy, - callback: BodyResponseCallback + create( + params: Params$Resource$Projects$Locations$Serviceconnectiontokens$Create, + callback: BodyResponseCallback ): void; - setIamPolicy(callback: BodyResponseCallback): void; - setIamPolicy( + create( + callback: BodyResponseCallback + ): void; + create( paramsOrCallback?: - | Params$Resource$Projects$Locations$Serviceconnectionpolicies$Setiampolicy - | BodyResponseCallback + | Params$Resource$Projects$Locations$Serviceconnectiontokens$Create + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Serviceconnectionpolicies$Setiampolicy; + {}) as Params$Resource$Projects$Locations$Serviceconnectiontokens$Create; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Serviceconnectionpolicies$Setiampolicy; + {} as Params$Resource$Projects$Locations$Serviceconnectiontokens$Create; options = {}; } @@ -17106,7 +17106,7 @@ export namespace networkconnectivity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace( + url: (rootUrl + '/v1/{+parent}/serviceConnectionTokens').replace( /([^:]\/)\/+/g, '$1' ), @@ -17116,22 +17116,22 @@ export namespace networkconnectivity_v1 { options ), params, - requiredParams: ['resource'], - pathParams: ['resource'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. + * Deletes a single ServiceConnectionToken. * @example * ```js * // Before running the sample: @@ -17161,26 +17161,25 @@ export namespace networkconnectivity_v1 { * * // Do the magic * const res = - * await networkconnectivity.projects.locations.serviceConnectionPolicies.testIamPermissions( + * await networkconnectivity.projects.locations.serviceConnectionTokens.delete( * { - * // REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - * resource: - * 'projects/my-project/locations/my-location/serviceConnectionPolicies/my-serviceConnectionPolicie', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "permissions": [] - * // } - * }, + * // Optional. The etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. + * etag: 'placeholder-value', + * // Required. The name of the ServiceConnectionToken to delete. + * name: 'projects/my-project/locations/my-location/serviceConnectionTokens/my-serviceConnectionToken', + * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', * }, * ); * console.log(res.data); * * // Example response * // { - * // "permissions": [] + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} * // } * } * @@ -17196,58 +17195,58 @@ export namespace networkconnectivity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - testIamPermissions( - params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Testiampermissions, + delete( + params: Params$Resource$Projects$Locations$Serviceconnectiontokens$Delete, options: StreamMethodOptions ): Promise>; - testIamPermissions( - params?: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Testiampermissions, + delete( + params?: Params$Resource$Projects$Locations$Serviceconnectiontokens$Delete, options?: MethodOptions - ): Promise>; - testIamPermissions( - params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Testiampermissions, + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Serviceconnectiontokens$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - testIamPermissions( - params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Testiampermissions, + delete( + params: Params$Resource$Projects$Locations$Serviceconnectiontokens$Delete, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - testIamPermissions( - params: Params$Resource$Projects$Locations$Serviceconnectionpolicies$Testiampermissions, - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Serviceconnectiontokens$Delete, + callback: BodyResponseCallback ): void; - testIamPermissions( - callback: BodyResponseCallback + delete( + callback: BodyResponseCallback ): void; - testIamPermissions( + delete( paramsOrCallback?: - | Params$Resource$Projects$Locations$Serviceconnectionpolicies$Testiampermissions - | BodyResponseCallback + | Params$Resource$Projects$Locations$Serviceconnectiontokens$Delete + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Serviceconnectionpolicies$Testiampermissions; + {}) as Params$Resource$Projects$Locations$Serviceconnectiontokens$Delete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; params = - {} as Params$Resource$Projects$Locations$Serviceconnectionpolicies$Testiampermissions; + {} as Params$Resource$Projects$Locations$Serviceconnectiontokens$Delete; options = {}; } @@ -17261,1313 +17260,140 @@ export namespace networkconnectivity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'POST', + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', apiVersion: '', }, options ), params, - requiredParams: ['resource'], - pathParams: ['resource'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } - } - - export interface Params$Resource$Projects$Locations$Serviceconnectionpolicies$Create - extends StandardParameters { - /** - * Optional. The space where we search for a free range to create a subnetwork. It can be narrow down or pick a different space. This is in standard CIDR format. If not specified, “10.0.0.0/8” is used. Only eligible for IPV4_ONLY and IPV4_IPV6 subnetwork. - */ - 'autoSubnetworkConfig.allocRangeSpace'?: string; - /** - * Optional. The requested IP stack for the subnetwork. If not specified, IPv4 is used. - */ - 'autoSubnetworkConfig.ipStack'?: string; - /** - * Optional. The desired prefix length for the subnet's IP address range. E.g., 24 for a /24. The actual range is allocated from available space. If not specified, 24 is used. Only eligible for IPV4_ONLY and IPV4_IPV6 subnetwork. - */ - 'autoSubnetworkConfig.prefixLength'?: number; - /** - * Required. The parent resource's name of the ServiceConnectionPolicy. ex. projects/123/locations/us-east1 - */ - parent?: string; - /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - requestId?: string; - /** - * Optional. Resource ID (i.e. 'foo' in '[...]/projects/p/locations/l/serviceConnectionPolicies/foo') See https://google.aip.dev/122#resource-id-segments Unique per location. - */ - serviceConnectionPolicyId?: string; - /** - * Optional. If this field is not set, USER_PROVIDED is the inferred value to use. - */ - subnetworkMode?: string; /** - * Request body metadata - */ - requestBody?: Schema$ServiceConnectionPolicy; - } - export interface Params$Resource$Projects$Locations$Serviceconnectionpolicies$Delete - extends StandardParameters { - /** - * Optional. The etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. - */ - etag?: string; - /** - * Required. The name of the ServiceConnectionPolicy to delete. - */ - name?: string; - /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - requestId?: string; - } - export interface Params$Resource$Projects$Locations$Serviceconnectionpolicies$Get - extends StandardParameters { - /** - * Required. Name of the ServiceConnectionPolicy to get. - */ - name?: string; - } - export interface Params$Resource$Projects$Locations$Serviceconnectionpolicies$Getiampolicy - extends StandardParameters { - /** - * Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). - */ - 'options.requestedPolicyVersion'?: number; - /** - * REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - */ - resource?: string; - } - export interface Params$Resource$Projects$Locations$Serviceconnectionpolicies$List - extends StandardParameters { - /** - * A filter expression that filters the results listed in the response. - */ - filter?: string; - /** - * Sort the results by a certain order. - */ - orderBy?: string; - /** - * The maximum number of results per page that should be returned. - */ - pageSize?: number; - /** - * The page token. - */ - pageToken?: string; - /** - * Required. The parent resource's name. ex. projects/123/locations/us-east1 - */ - parent?: string; - } - export interface Params$Resource$Projects$Locations$Serviceconnectionpolicies$Patch - extends StandardParameters { - /** - * Immutable. The name of a ServiceConnectionPolicy. Format: projects/{project\}/locations/{location\}/serviceConnectionPolicies/{service_connection_policy\} See: https://google.aip.dev/122#fields-representing-resource-names - */ - name?: string; - /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - requestId?: string; - /** - * Optional. Field mask is used to specify the fields to be overwritten in the ServiceConnectionPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. - */ - updateMask?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$ServiceConnectionPolicy; - } - export interface Params$Resource$Projects$Locations$Serviceconnectionpolicies$Setiampolicy - extends StandardParameters { - /** - * REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - */ - resource?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$SetIamPolicyRequest; - } - export interface Params$Resource$Projects$Locations$Serviceconnectionpolicies$Testiampermissions - extends StandardParameters { - /** - * REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - */ - resource?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$TestIamPermissionsRequest; - } - - export class Resource$Projects$Locations$Serviceconnectiontokens { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; - } - - /** - * Creates a new ServiceConnectionToken in a given project and location. - * @example - * ```js - * // Before running the sample: - * // - Enable the API at: - * // https://console.developers.google.com/apis/api/networkconnectivity.googleapis.com - * // - Login into gcloud by running: - * // ```sh - * // $ gcloud auth application-default login - * // ``` - * // - Install the npm module by running: - * // ```sh - * // $ npm install googleapis - * // ``` - * - * const {google} = require('googleapis'); - * const networkconnectivity = google.networkconnectivity('v1'); - * - * async function main() { - * const auth = new google.auth.GoogleAuth({ - * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], - * }); - * - * // Acquire an auth client, and bind it to all future calls - * const authClient = await auth.getClient(); - * google.options({auth: authClient}); - * - * // Do the magic - * const res = - * await networkconnectivity.projects.locations.serviceConnectionTokens.create( - * { - * // Required. The parent resource's name of the ServiceConnectionToken. ex. projects/123/locations/us-east1 - * parent: 'projects/my-project/locations/my-location', - * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - * requestId: 'placeholder-value', - * // Optional. Resource ID (i.e. 'foo' in '[...]/projects/p/locations/l/ServiceConnectionTokens/foo') See https://google.aip.dev/122#resource-id-segments Unique per location. If one is not provided, one will be generated. - * serviceConnectionTokenId: 'placeholder-value', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "createTime": "my_createTime", - * // "description": "my_description", - * // "etag": "my_etag", - * // "expireTime": "my_expireTime", - * // "labels": {}, - * // "name": "my_name", - * // "network": "my_network", - * // "token": "my_token", - * // "updateTime": "my_updateTime" - * // } - * }, - * }, - * ); - * console.log(res.data); - * - * // Example response - * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, - * // "name": "my_name", - * // "response": {} - * // } - * } - * - * main().catch(e => { - * console.error(e); - * throw e; - * }); - * - * ``` - * - * @param params - Parameters for request - * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. - * @param callback - Optional callback that handles the response. - * @returns A promise if used with async/await, or void if used with a callback. - */ - create( - params: Params$Resource$Projects$Locations$Serviceconnectiontokens$Create, - options: StreamMethodOptions - ): Promise>; - create( - params?: Params$Resource$Projects$Locations$Serviceconnectiontokens$Create, - options?: MethodOptions - ): Promise>; - create( - params: Params$Resource$Projects$Locations$Serviceconnectiontokens$Create, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - create( - params: Params$Resource$Projects$Locations$Serviceconnectiontokens$Create, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - create( - params: Params$Resource$Projects$Locations$Serviceconnectiontokens$Create, - callback: BodyResponseCallback - ): void; - create( - callback: BodyResponseCallback - ): void; - create( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Serviceconnectiontokens$Create - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): - | void - | Promise> - | Promise> { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Serviceconnectiontokens$Create; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Serviceconnectiontokens$Create; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://networkconnectivity.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+parent}/serviceConnectionTokens').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'POST', - apiVersion: '', - }, - options - ), - params, - requiredParams: ['parent'], - pathParams: ['parent'], - context: this.context, - }; - if (callback) { - createAPIRequest( - parameters, - callback as BodyResponseCallback - ); - } else { - return createAPIRequest(parameters); - } - } - - /** - * Deletes a single ServiceConnectionToken. - * @example - * ```js - * // Before running the sample: - * // - Enable the API at: - * // https://console.developers.google.com/apis/api/networkconnectivity.googleapis.com - * // - Login into gcloud by running: - * // ```sh - * // $ gcloud auth application-default login - * // ``` - * // - Install the npm module by running: - * // ```sh - * // $ npm install googleapis - * // ``` - * - * const {google} = require('googleapis'); - * const networkconnectivity = google.networkconnectivity('v1'); - * - * async function main() { - * const auth = new google.auth.GoogleAuth({ - * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], - * }); - * - * // Acquire an auth client, and bind it to all future calls - * const authClient = await auth.getClient(); - * google.options({auth: authClient}); - * - * // Do the magic - * const res = - * await networkconnectivity.projects.locations.serviceConnectionTokens.delete( - * { - * // Optional. The etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. - * etag: 'placeholder-value', - * // Required. The name of the ServiceConnectionToken to delete. - * name: 'projects/my-project/locations/my-location/serviceConnectionTokens/my-serviceConnectionToken', - * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - * requestId: 'placeholder-value', - * }, - * ); - * console.log(res.data); - * - * // Example response - * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, - * // "name": "my_name", - * // "response": {} - * // } - * } - * - * main().catch(e => { - * console.error(e); - * throw e; - * }); - * - * ``` - * - * @param params - Parameters for request - * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. - * @param callback - Optional callback that handles the response. - * @returns A promise if used with async/await, or void if used with a callback. - */ - delete( - params: Params$Resource$Projects$Locations$Serviceconnectiontokens$Delete, - options: StreamMethodOptions - ): Promise>; - delete( - params?: Params$Resource$Projects$Locations$Serviceconnectiontokens$Delete, - options?: MethodOptions - ): Promise>; - delete( - params: Params$Resource$Projects$Locations$Serviceconnectiontokens$Delete, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - delete( - params: Params$Resource$Projects$Locations$Serviceconnectiontokens$Delete, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - delete( - params: Params$Resource$Projects$Locations$Serviceconnectiontokens$Delete, - callback: BodyResponseCallback - ): void; - delete( - callback: BodyResponseCallback - ): void; - delete( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Serviceconnectiontokens$Delete - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): - | void - | Promise> - | Promise> { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Serviceconnectiontokens$Delete; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Serviceconnectiontokens$Delete; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://networkconnectivity.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'DELETE', - apiVersion: '', - }, - options - ), - params, - requiredParams: ['name'], - pathParams: ['name'], - context: this.context, - }; - if (callback) { - createAPIRequest( - parameters, - callback as BodyResponseCallback - ); - } else { - return createAPIRequest(parameters); - } - } - - /** - * Gets details of a single ServiceConnectionToken. - * @example - * ```js - * // Before running the sample: - * // - Enable the API at: - * // https://console.developers.google.com/apis/api/networkconnectivity.googleapis.com - * // - Login into gcloud by running: - * // ```sh - * // $ gcloud auth application-default login - * // ``` - * // - Install the npm module by running: - * // ```sh - * // $ npm install googleapis - * // ``` - * - * const {google} = require('googleapis'); - * const networkconnectivity = google.networkconnectivity('v1'); - * - * async function main() { - * const auth = new google.auth.GoogleAuth({ - * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], - * }); - * - * // Acquire an auth client, and bind it to all future calls - * const authClient = await auth.getClient(); - * google.options({auth: authClient}); - * - * // Do the magic - * const res = - * await networkconnectivity.projects.locations.serviceConnectionTokens.get({ - * // Required. Name of the ServiceConnectionToken to get. - * name: 'projects/my-project/locations/my-location/serviceConnectionTokens/my-serviceConnectionToken', - * }); - * console.log(res.data); - * - * // Example response - * // { - * // "createTime": "my_createTime", - * // "description": "my_description", - * // "etag": "my_etag", - * // "expireTime": "my_expireTime", - * // "labels": {}, - * // "name": "my_name", - * // "network": "my_network", - * // "token": "my_token", - * // "updateTime": "my_updateTime" - * // } - * } - * - * main().catch(e => { - * console.error(e); - * throw e; - * }); - * - * ``` - * - * @param params - Parameters for request - * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. - * @param callback - Optional callback that handles the response. - * @returns A promise if used with async/await, or void if used with a callback. - */ - get( - params: Params$Resource$Projects$Locations$Serviceconnectiontokens$Get, - options: StreamMethodOptions - ): Promise>; - get( - params?: Params$Resource$Projects$Locations$Serviceconnectiontokens$Get, - options?: MethodOptions - ): Promise>; - get( - params: Params$Resource$Projects$Locations$Serviceconnectiontokens$Get, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - get( - params: Params$Resource$Projects$Locations$Serviceconnectiontokens$Get, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - get( - params: Params$Resource$Projects$Locations$Serviceconnectiontokens$Get, - callback: BodyResponseCallback - ): void; - get(callback: BodyResponseCallback): void; - get( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Serviceconnectiontokens$Get - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): - | void - | Promise> - | Promise> { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Serviceconnectiontokens$Get; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Serviceconnectiontokens$Get; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://networkconnectivity.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'GET', - apiVersion: '', - }, - options - ), - params, - requiredParams: ['name'], - pathParams: ['name'], - context: this.context, - }; - if (callback) { - createAPIRequest( - parameters, - callback as BodyResponseCallback - ); - } else { - return createAPIRequest(parameters); - } - } - - /** - * Lists ServiceConnectionTokens in a given project and location. - * @example - * ```js - * // Before running the sample: - * // - Enable the API at: - * // https://console.developers.google.com/apis/api/networkconnectivity.googleapis.com - * // - Login into gcloud by running: - * // ```sh - * // $ gcloud auth application-default login - * // ``` - * // - Install the npm module by running: - * // ```sh - * // $ npm install googleapis - * // ``` - * - * const {google} = require('googleapis'); - * const networkconnectivity = google.networkconnectivity('v1'); - * - * async function main() { - * const auth = new google.auth.GoogleAuth({ - * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], - * }); - * - * // Acquire an auth client, and bind it to all future calls - * const authClient = await auth.getClient(); - * google.options({auth: authClient}); - * - * // Do the magic - * const res = - * await networkconnectivity.projects.locations.serviceConnectionTokens.list({ - * // A filter expression that filters the results listed in the response. - * filter: 'placeholder-value', - * // Sort the results by a certain order. - * orderBy: 'placeholder-value', - * // The maximum number of results per page that should be returned. - * pageSize: 'placeholder-value', - * // The page token. - * pageToken: 'placeholder-value', - * // Required. The parent resource's name. ex. projects/123/locations/us-east1 - * parent: 'projects/my-project/locations/my-location', - * }); - * console.log(res.data); - * - * // Example response - * // { - * // "nextPageToken": "my_nextPageToken", - * // "serviceConnectionTokens": [], - * // "unreachable": [] - * // } - * } - * - * main().catch(e => { - * console.error(e); - * throw e; - * }); - * - * ``` - * - * @param params - Parameters for request - * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. - * @param callback - Optional callback that handles the response. - * @returns A promise if used with async/await, or void if used with a callback. - */ - list( - params: Params$Resource$Projects$Locations$Serviceconnectiontokens$List, - options: StreamMethodOptions - ): Promise>; - list( - params?: Params$Resource$Projects$Locations$Serviceconnectiontokens$List, - options?: MethodOptions - ): Promise< - GaxiosResponseWithHTTP2 - >; - list( - params: Params$Resource$Projects$Locations$Serviceconnectiontokens$List, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - list( - params: Params$Resource$Projects$Locations$Serviceconnectiontokens$List, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - list( - params: Params$Resource$Projects$Locations$Serviceconnectiontokens$List, - callback: BodyResponseCallback - ): void; - list( - callback: BodyResponseCallback - ): void; - list( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Serviceconnectiontokens$List - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): - | void - | Promise< - GaxiosResponseWithHTTP2 - > - | Promise> { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Serviceconnectiontokens$List; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Serviceconnectiontokens$List; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://networkconnectivity.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+parent}/serviceConnectionTokens').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'GET', - apiVersion: '', - }, - options - ), - params, - requiredParams: ['parent'], - pathParams: ['parent'], - context: this.context, - }; - if (callback) { - createAPIRequest( - parameters, - callback as BodyResponseCallback - ); - } else { - return createAPIRequest( - parameters - ); - } - } - } - - export interface Params$Resource$Projects$Locations$Serviceconnectiontokens$Create - extends StandardParameters { - /** - * Required. The parent resource's name of the ServiceConnectionToken. ex. projects/123/locations/us-east1 - */ - parent?: string; - /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - requestId?: string; - /** - * Optional. Resource ID (i.e. 'foo' in '[...]/projects/p/locations/l/ServiceConnectionTokens/foo') See https://google.aip.dev/122#resource-id-segments Unique per location. If one is not provided, one will be generated. - */ - serviceConnectionTokenId?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$ServiceConnectionToken; - } - export interface Params$Resource$Projects$Locations$Serviceconnectiontokens$Delete - extends StandardParameters { - /** - * Optional. The etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. - */ - etag?: string; - /** - * Required. The name of the ServiceConnectionToken to delete. - */ - name?: string; - /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - requestId?: string; - } - export interface Params$Resource$Projects$Locations$Serviceconnectiontokens$Get - extends StandardParameters { - /** - * Required. Name of the ServiceConnectionToken to get. - */ - name?: string; - } - export interface Params$Resource$Projects$Locations$Serviceconnectiontokens$List - extends StandardParameters { - /** - * A filter expression that filters the results listed in the response. - */ - filter?: string; - /** - * Sort the results by a certain order. - */ - orderBy?: string; - /** - * The maximum number of results per page that should be returned. - */ - pageSize?: number; - /** - * The page token. - */ - pageToken?: string; - /** - * Required. The parent resource's name. ex. projects/123/locations/us-east1 - */ - parent?: string; - } - - export class Resource$Projects$Locations$Spokes { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; - } - - /** - * Creates a Network Connectivity Center spoke. - * @example - * ```js - * // Before running the sample: - * // - Enable the API at: - * // https://console.developers.google.com/apis/api/networkconnectivity.googleapis.com - * // - Login into gcloud by running: - * // ```sh - * // $ gcloud auth application-default login - * // ``` - * // - Install the npm module by running: - * // ```sh - * // $ npm install googleapis - * // ``` - * - * const {google} = require('googleapis'); - * const networkconnectivity = google.networkconnectivity('v1'); - * - * async function main() { - * const auth = new google.auth.GoogleAuth({ - * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], - * }); - * - * // Acquire an auth client, and bind it to all future calls - * const authClient = await auth.getClient(); - * google.options({auth: authClient}); - * - * // Do the magic - * const res = await networkconnectivity.projects.locations.spokes.create({ - * // Required. The parent resource. - * parent: 'projects/my-project/locations/my-location', - * // Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - * requestId: 'placeholder-value', - * // Required. Unique id for the spoke to create. - * spokeId: 'placeholder-value', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "createTime": "my_createTime", - * // "description": "my_description", - * // "etag": "my_etag", - * // "fieldPathsPendingUpdate": [], - * // "group": "my_group", - * // "hub": "my_hub", - * // "labels": {}, - * // "linkedInterconnectAttachments": {}, - * // "linkedProducerVpcNetwork": {}, - * // "linkedRouterApplianceInstances": {}, - * // "linkedVpcNetwork": {}, - * // "linkedVpnTunnels": {}, - * // "name": "my_name", - * // "reasons": [], - * // "spokeType": "my_spokeType", - * // "state": "my_state", - * // "uniqueId": "my_uniqueId", - * // "updateTime": "my_updateTime" - * // } - * }, - * }); - * console.log(res.data); - * - * // Example response - * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, - * // "name": "my_name", - * // "response": {} - * // } - * } - * - * main().catch(e => { - * console.error(e); - * throw e; - * }); - * - * ``` - * - * @param params - Parameters for request - * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. - * @param callback - Optional callback that handles the response. - * @returns A promise if used with async/await, or void if used with a callback. - */ - create( - params: Params$Resource$Projects$Locations$Spokes$Create, - options: StreamMethodOptions - ): Promise>; - create( - params?: Params$Resource$Projects$Locations$Spokes$Create, - options?: MethodOptions - ): Promise>; - create( - params: Params$Resource$Projects$Locations$Spokes$Create, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - create( - params: Params$Resource$Projects$Locations$Spokes$Create, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - create( - params: Params$Resource$Projects$Locations$Spokes$Create, - callback: BodyResponseCallback - ): void; - create( - callback: BodyResponseCallback - ): void; - create( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Spokes$Create - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): - | void - | Promise> - | Promise> { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Spokes$Create; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Spokes$Create; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://networkconnectivity.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+parent}/spokes').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'POST', - apiVersion: '', - }, - options - ), - params, - requiredParams: ['parent'], - pathParams: ['parent'], - context: this.context, - }; - if (callback) { - createAPIRequest( - parameters, - callback as BodyResponseCallback - ); - } else { - return createAPIRequest(parameters); - } - } - - /** - * Deletes a Network Connectivity Center spoke. - * @example - * ```js - * // Before running the sample: - * // - Enable the API at: - * // https://console.developers.google.com/apis/api/networkconnectivity.googleapis.com - * // - Login into gcloud by running: - * // ```sh - * // $ gcloud auth application-default login - * // ``` - * // - Install the npm module by running: - * // ```sh - * // $ npm install googleapis - * // ``` - * - * const {google} = require('googleapis'); - * const networkconnectivity = google.networkconnectivity('v1'); - * - * async function main() { - * const auth = new google.auth.GoogleAuth({ - * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], - * }); - * - * // Acquire an auth client, and bind it to all future calls - * const authClient = await auth.getClient(); - * google.options({auth: authClient}); - * - * // Do the magic - * const res = await networkconnectivity.projects.locations.spokes.delete({ - * // Required. The name of the spoke to delete. - * name: 'projects/my-project/locations/my-location/spokes/my-spoke', - * // Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - * requestId: 'placeholder-value', - * }); - * console.log(res.data); - * - * // Example response - * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, - * // "name": "my_name", - * // "response": {} - * // } - * } - * - * main().catch(e => { - * console.error(e); - * throw e; - * }); - * - * ``` - * - * @param params - Parameters for request - * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. - * @param callback - Optional callback that handles the response. - * @returns A promise if used with async/await, or void if used with a callback. - */ - delete( - params: Params$Resource$Projects$Locations$Spokes$Delete, - options: StreamMethodOptions - ): Promise>; - delete( - params?: Params$Resource$Projects$Locations$Spokes$Delete, - options?: MethodOptions - ): Promise>; - delete( - params: Params$Resource$Projects$Locations$Spokes$Delete, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - delete( - params: Params$Resource$Projects$Locations$Spokes$Delete, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - delete( - params: Params$Resource$Projects$Locations$Spokes$Delete, - callback: BodyResponseCallback - ): void; - delete( - callback: BodyResponseCallback - ): void; - delete( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Spokes$Delete - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): - | void - | Promise> - | Promise> { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Spokes$Delete; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Spokes$Delete; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://networkconnectivity.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'DELETE', - apiVersion: '', - }, - options - ), - params, - requiredParams: ['name'], - pathParams: ['name'], - context: this.context, - }; - if (callback) { - createAPIRequest( - parameters, - callback as BodyResponseCallback - ); - } else { - return createAPIRequest(parameters); - } - } - - /** - * Gets details about a Network Connectivity Center spoke. - * @example - * ```js - * // Before running the sample: - * // - Enable the API at: - * // https://console.developers.google.com/apis/api/networkconnectivity.googleapis.com - * // - Login into gcloud by running: - * // ```sh - * // $ gcloud auth application-default login - * // ``` - * // - Install the npm module by running: - * // ```sh - * // $ npm install googleapis - * // ``` - * - * const {google} = require('googleapis'); - * const networkconnectivity = google.networkconnectivity('v1'); - * - * async function main() { - * const auth = new google.auth.GoogleAuth({ - * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], - * }); - * - * // Acquire an auth client, and bind it to all future calls - * const authClient = await auth.getClient(); - * google.options({auth: authClient}); - * - * // Do the magic - * const res = await networkconnectivity.projects.locations.spokes.get({ - * // Required. The name of the spoke resource. - * name: 'projects/my-project/locations/my-location/spokes/my-spoke', - * }); - * console.log(res.data); - * - * // Example response - * // { - * // "createTime": "my_createTime", - * // "description": "my_description", - * // "etag": "my_etag", - * // "fieldPathsPendingUpdate": [], - * // "group": "my_group", - * // "hub": "my_hub", - * // "labels": {}, - * // "linkedInterconnectAttachments": {}, - * // "linkedProducerVpcNetwork": {}, - * // "linkedRouterApplianceInstances": {}, - * // "linkedVpcNetwork": {}, - * // "linkedVpnTunnels": {}, - * // "name": "my_name", - * // "reasons": [], - * // "spokeType": "my_spokeType", - * // "state": "my_state", - * // "uniqueId": "my_uniqueId", - * // "updateTime": "my_updateTime" - * // } - * } - * - * main().catch(e => { - * console.error(e); - * throw e; - * }); - * - * ``` - * - * @param params - Parameters for request - * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. - * @param callback - Optional callback that handles the response. - * @returns A promise if used with async/await, or void if used with a callback. + * Gets details of a single ServiceConnectionToken. + * @example + * ```js + * // Before running the sample: + * // - Enable the API at: + * // https://console.developers.google.com/apis/api/networkconnectivity.googleapis.com + * // - Login into gcloud by running: + * // ```sh + * // $ gcloud auth application-default login + * // ``` + * // - Install the npm module by running: + * // ```sh + * // $ npm install googleapis + * // ``` + * + * const {google} = require('googleapis'); + * const networkconnectivity = google.networkconnectivity('v1'); + * + * async function main() { + * const auth = new google.auth.GoogleAuth({ + * // Scopes can be specified either as an array or as a single, space-delimited string. + * scopes: ['https://www.googleapis.com/auth/cloud-platform'], + * }); + * + * // Acquire an auth client, and bind it to all future calls + * const authClient = await auth.getClient(); + * google.options({auth: authClient}); + * + * // Do the magic + * const res = + * await networkconnectivity.projects.locations.serviceConnectionTokens.get({ + * // Required. Name of the ServiceConnectionToken to get. + * name: 'projects/my-project/locations/my-location/serviceConnectionTokens/my-serviceConnectionToken', + * }); + * console.log(res.data); + * + * // Example response + * // { + * // "createTime": "my_createTime", + * // "description": "my_description", + * // "etag": "my_etag", + * // "expireTime": "my_expireTime", + * // "labels": {}, + * // "name": "my_name", + * // "network": "my_network", + * // "token": "my_token", + * // "updateTime": "my_updateTime" + * // } + * } + * + * main().catch(e => { + * console.error(e); + * throw e; + * }); + * + * ``` + * + * @param params - Parameters for request + * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. + * @param callback - Optional callback that handles the response. + * @returns A promise if used with async/await, or void if used with a callback. */ get( - params: Params$Resource$Projects$Locations$Spokes$Get, + params: Params$Resource$Projects$Locations$Serviceconnectiontokens$Get, options: StreamMethodOptions ): Promise>; get( - params?: Params$Resource$Projects$Locations$Spokes$Get, + params?: Params$Resource$Projects$Locations$Serviceconnectiontokens$Get, options?: MethodOptions - ): Promise>; + ): Promise>; get( - params: Params$Resource$Projects$Locations$Spokes$Get, + params: Params$Resource$Projects$Locations$Serviceconnectiontokens$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; get( - params: Params$Resource$Projects$Locations$Spokes$Get, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + params: Params$Resource$Projects$Locations$Serviceconnectiontokens$Get, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; get( - params: Params$Resource$Projects$Locations$Spokes$Get, - callback: BodyResponseCallback + params: Params$Resource$Projects$Locations$Serviceconnectiontokens$Get, + callback: BodyResponseCallback ): void; - get(callback: BodyResponseCallback): void; + get(callback: BodyResponseCallback): void; get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Spokes$Get - | BodyResponseCallback + | Params$Resource$Projects$Locations$Serviceconnectiontokens$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Spokes$Get; + {}) as Params$Resource$Projects$Locations$Serviceconnectiontokens$Get; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Spokes$Get; + params = + {} as Params$Resource$Projects$Locations$Serviceconnectiontokens$Get; options = {}; } @@ -18593,160 +17419,17 @@ export namespace networkconnectivity_v1 { context: this.context, }; if (callback) { - createAPIRequest( - parameters, - callback as BodyResponseCallback - ); - } else { - return createAPIRequest(parameters); - } - } - - /** - * Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. - * @example - * ```js - * // Before running the sample: - * // - Enable the API at: - * // https://console.developers.google.com/apis/api/networkconnectivity.googleapis.com - * // - Login into gcloud by running: - * // ```sh - * // $ gcloud auth application-default login - * // ``` - * // - Install the npm module by running: - * // ```sh - * // $ npm install googleapis - * // ``` - * - * const {google} = require('googleapis'); - * const networkconnectivity = google.networkconnectivity('v1'); - * - * async function main() { - * const auth = new google.auth.GoogleAuth({ - * // Scopes can be specified either as an array or as a single, space-delimited string. - * scopes: ['https://www.googleapis.com/auth/cloud-platform'], - * }); - * - * // Acquire an auth client, and bind it to all future calls - * const authClient = await auth.getClient(); - * google.options({auth: authClient}); - * - * // Do the magic - * const res = await networkconnectivity.projects.locations.spokes.getIamPolicy({ - * // Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). - * 'options.requestedPolicyVersion': 'placeholder-value', - * // REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - * resource: 'projects/my-project/locations/my-location/spokes/my-spoke', - * }); - * console.log(res.data); - * - * // Example response - * // { - * // "auditConfigs": [], - * // "bindings": [], - * // "etag": "my_etag", - * // "version": 0 - * // } - * } - * - * main().catch(e => { - * console.error(e); - * throw e; - * }); - * - * ``` - * - * @param params - Parameters for request - * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. - * @param callback - Optional callback that handles the response. - * @returns A promise if used with async/await, or void if used with a callback. - */ - getIamPolicy( - params: Params$Resource$Projects$Locations$Spokes$Getiampolicy, - options: StreamMethodOptions - ): Promise>; - getIamPolicy( - params?: Params$Resource$Projects$Locations$Spokes$Getiampolicy, - options?: MethodOptions - ): Promise>; - getIamPolicy( - params: Params$Resource$Projects$Locations$Spokes$Getiampolicy, - options: StreamMethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - getIamPolicy( - params: Params$Resource$Projects$Locations$Spokes$Getiampolicy, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - getIamPolicy( - params: Params$Resource$Projects$Locations$Spokes$Getiampolicy, - callback: BodyResponseCallback - ): void; - getIamPolicy(callback: BodyResponseCallback): void; - getIamPolicy( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Spokes$Getiampolicy - | BodyResponseCallback - | BodyResponseCallback, - optionsOrCallback?: - | MethodOptions - | StreamMethodOptions - | BodyResponseCallback - | BodyResponseCallback, - callback?: - | BodyResponseCallback - | BodyResponseCallback - ): - | void - | Promise> - | Promise> { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Spokes$Getiampolicy; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Spokes$Getiampolicy; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://networkconnectivity.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'GET', - apiVersion: '', - }, - options - ), - params, - requiredParams: ['resource'], - pathParams: ['resource'], - context: this.context, - }; - if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Lists the Network Connectivity Center spokes in a specified project and location. + * Lists ServiceConnectionTokens in a given project and location. * @example * ```js * // Before running the sample: @@ -18775,24 +17458,25 @@ export namespace networkconnectivity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await networkconnectivity.projects.locations.spokes.list({ - * // An expression that filters the list of results. - * filter: 'placeholder-value', - * // Sort the results by a certain order. - * orderBy: 'placeholder-value', - * // The maximum number of results to return per page. - * pageSize: 'placeholder-value', - * // The page token. - * pageToken: 'placeholder-value', - * // Required. The parent resource. - * parent: 'projects/my-project/locations/my-location', - * }); + * const res = + * await networkconnectivity.projects.locations.serviceConnectionTokens.list({ + * // A filter expression that filters the results listed in the response. + * filter: 'placeholder-value', + * // Sort the results by a certain order. + * orderBy: 'placeholder-value', + * // The maximum number of results per page that should be returned. + * pageSize: 'placeholder-value', + * // The page token. + * pageToken: 'placeholder-value', + * // Required. The parent resource's name. ex. projects/123/locations/us-east1 + * parent: 'projects/my-project/locations/my-location', + * }); * console.log(res.data); * * // Example response * // { * // "nextPageToken": "my_nextPageToken", - * // "spokes": [], + * // "serviceConnectionTokens": [], * // "unreachable": [] * // } * } @@ -18810,52 +17494,61 @@ export namespace networkconnectivity_v1 { * @returns A promise if used with async/await, or void if used with a callback. */ list( - params: Params$Resource$Projects$Locations$Spokes$List, + params: Params$Resource$Projects$Locations$Serviceconnectiontokens$List, options: StreamMethodOptions ): Promise>; list( - params?: Params$Resource$Projects$Locations$Spokes$List, + params?: Params$Resource$Projects$Locations$Serviceconnectiontokens$List, options?: MethodOptions - ): Promise>; + ): Promise< + GaxiosResponseWithHTTP2 + >; list( - params: Params$Resource$Projects$Locations$Spokes$List, + params: Params$Resource$Projects$Locations$Serviceconnectiontokens$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; list( - params: Params$Resource$Projects$Locations$Spokes$List, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + params: Params$Resource$Projects$Locations$Serviceconnectiontokens$List, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; list( - params: Params$Resource$Projects$Locations$Spokes$List, - callback: BodyResponseCallback + params: Params$Resource$Projects$Locations$Serviceconnectiontokens$List, + callback: BodyResponseCallback + ): void; + list( + callback: BodyResponseCallback ): void; - list(callback: BodyResponseCallback): void; list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Spokes$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Serviceconnectiontokens$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise< + GaxiosResponseWithHTTP2 + > | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Spokes$List; + {}) as Params$Resource$Projects$Locations$Serviceconnectiontokens$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Spokes$List; + params = + {} as Params$Resource$Projects$Locations$Serviceconnectiontokens$List; options = {}; } @@ -18869,7 +17562,7 @@ export namespace networkconnectivity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/spokes').replace( + url: (rootUrl + '/v1/{+parent}/serviceConnectionTokens').replace( /([^:]\/)\/+/g, '$1' ), @@ -18884,17 +17577,92 @@ export namespace networkconnectivity_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest( + parameters + ); } } + } + export interface Params$Resource$Projects$Locations$Serviceconnectiontokens$Create + extends StandardParameters { /** - * Updates the parameters of a Network Connectivity Center spoke. + * Required. The parent resource's name of the ServiceConnectionToken. ex. projects/123/locations/us-east1 + */ + parent?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** + * Optional. Resource ID (i.e. 'foo' in '[...]/projects/p/locations/l/ServiceConnectionTokens/foo') See https://google.aip.dev/122#resource-id-segments Unique per location. If one is not provided, one will be generated. + */ + serviceConnectionTokenId?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$ServiceConnectionToken; + } + export interface Params$Resource$Projects$Locations$Serviceconnectiontokens$Delete + extends StandardParameters { + /** + * Optional. The etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. + */ + etag?: string; + /** + * Required. The name of the ServiceConnectionToken to delete. + */ + name?: string; + /** + * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + } + export interface Params$Resource$Projects$Locations$Serviceconnectiontokens$Get + extends StandardParameters { + /** + * Required. Name of the ServiceConnectionToken to get. + */ + name?: string; + } + export interface Params$Resource$Projects$Locations$Serviceconnectiontokens$List + extends StandardParameters { + /** + * A filter expression that filters the results listed in the response. + */ + filter?: string; + /** + * Sort the results by a certain order. + */ + orderBy?: string; + /** + * The maximum number of results per page that should be returned. + */ + pageSize?: number; + /** + * The page token. + */ + pageToken?: string; + /** + * Required. The parent resource's name. ex. projects/123/locations/us-east1 + */ + parent?: string; + } + + export class Resource$Projects$Locations$Spokes { + context: APIRequestContext; + constructor(context: APIRequestContext) { + this.context = context; + } + + /** + * Creates a Network Connectivity Center spoke. * @example * ```js * // Before running the sample: @@ -18923,13 +17691,13 @@ export namespace networkconnectivity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await networkconnectivity.projects.locations.spokes.patch({ - * // Immutable. The name of the spoke. Spoke names must be unique. They use the following form: `projects/{project_number\}/locations/{region\}/spokes/{spoke_id\}` - * name: 'projects/my-project/locations/my-location/spokes/my-spoke', + * const res = await networkconnectivity.projects.locations.spokes.create({ + * // Required. The parent resource. + * parent: 'projects/my-project/locations/my-location', * // Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). * requestId: 'placeholder-value', - * // Optional. In the case of an update to an existing spoke, field mask is used to specify the fields to be overwritten. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not provide a mask, then all fields are overwritten. - * updateMask: 'placeholder-value', + * // Required. Unique id for the spoke to create. + * spokeId: 'placeholder-value', * * // Request body metadata * requestBody: { @@ -18980,36 +17748,36 @@ export namespace networkconnectivity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - patch( - params: Params$Resource$Projects$Locations$Spokes$Patch, + create( + params: Params$Resource$Projects$Locations$Spokes$Create, options: StreamMethodOptions ): Promise>; - patch( - params?: Params$Resource$Projects$Locations$Spokes$Patch, + create( + params?: Params$Resource$Projects$Locations$Spokes$Create, options?: MethodOptions ): Promise>; - patch( - params: Params$Resource$Projects$Locations$Spokes$Patch, + create( + params: Params$Resource$Projects$Locations$Spokes$Create, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Projects$Locations$Spokes$Patch, + create( + params: Params$Resource$Projects$Locations$Spokes$Create, options: | MethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Projects$Locations$Spokes$Patch, + create( + params: Params$Resource$Projects$Locations$Spokes$Create, callback: BodyResponseCallback ): void; - patch( + create( callback: BodyResponseCallback ): void; - patch( + create( paramsOrCallback?: - | Params$Resource$Projects$Locations$Spokes$Patch + | Params$Resource$Projects$Locations$Spokes$Create | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: @@ -19025,12 +17793,12 @@ export namespace networkconnectivity_v1 { | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Spokes$Patch; + {}) as Params$Resource$Projects$Locations$Spokes$Create; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Spokes$Patch; + params = {} as Params$Resource$Projects$Locations$Spokes$Create; options = {}; } @@ -19044,15 +17812,18 @@ export namespace networkconnectivity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'PATCH', + url: (rootUrl + '/v1/{+parent}/spokes').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { @@ -19066,7 +17837,7 @@ export namespace networkconnectivity_v1 { } /** - * Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. + * Deletes a Network Connectivity Center spoke. * @example * ```js * // Before running the sample: @@ -19095,27 +17866,21 @@ export namespace networkconnectivity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await networkconnectivity.projects.locations.spokes.setIamPolicy({ - * // REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - * resource: 'projects/my-project/locations/my-location/spokes/my-spoke', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "policy": {}, - * // "updateMask": "my_updateMask" - * // } - * }, + * const res = await networkconnectivity.projects.locations.spokes.delete({ + * // Required. The name of the spoke to delete. + * name: 'projects/my-project/locations/my-location/spokes/my-spoke', + * // Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', * }); * console.log(res.data); * * // Example response * // { - * // "auditConfigs": [], - * // "bindings": [], - * // "etag": "my_etag", - * // "version": 0 + * // "done": false, + * // "error": {}, + * // "metadata": {}, + * // "name": "my_name", + * // "response": {} * // } * } * @@ -19131,53 +17896,57 @@ export namespace networkconnectivity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - setIamPolicy( - params: Params$Resource$Projects$Locations$Spokes$Setiampolicy, + delete( + params: Params$Resource$Projects$Locations$Spokes$Delete, options: StreamMethodOptions ): Promise>; - setIamPolicy( - params?: Params$Resource$Projects$Locations$Spokes$Setiampolicy, + delete( + params?: Params$Resource$Projects$Locations$Spokes$Delete, options?: MethodOptions - ): Promise>; - setIamPolicy( - params: Params$Resource$Projects$Locations$Spokes$Setiampolicy, + ): Promise>; + delete( + params: Params$Resource$Projects$Locations$Spokes$Delete, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - setIamPolicy( - params: Params$Resource$Projects$Locations$Spokes$Setiampolicy, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Spokes$Delete, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - setIamPolicy( - params: Params$Resource$Projects$Locations$Spokes$Setiampolicy, - callback: BodyResponseCallback + delete( + params: Params$Resource$Projects$Locations$Spokes$Delete, + callback: BodyResponseCallback ): void; - setIamPolicy(callback: BodyResponseCallback): void; - setIamPolicy( - paramsOrCallback?: - | Params$Resource$Projects$Locations$Spokes$Setiampolicy - | BodyResponseCallback + delete( + callback: BodyResponseCallback + ): void; + delete( + paramsOrCallback?: + | Params$Resource$Projects$Locations$Spokes$Delete + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Spokes$Setiampolicy; + {}) as Params$Resource$Projects$Locations$Spokes$Delete; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Spokes$Setiampolicy; + params = {} as Params$Resource$Projects$Locations$Spokes$Delete; options = {}; } @@ -19191,32 +17960,29 @@ export namespace networkconnectivity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'POST', + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', apiVersion: '', }, options ), params, - requiredParams: ['resource'], - pathParams: ['resource'], + requiredParams: ['name'], + pathParams: ['name'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. + * Gets details about a Network Connectivity Center spoke. * @example * ```js * // Before running the sample: @@ -19245,24 +18011,32 @@ export namespace networkconnectivity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = - * await networkconnectivity.projects.locations.spokes.testIamPermissions({ - * // REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - * resource: 'projects/my-project/locations/my-location/spokes/my-spoke', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "permissions": [] - * // } - * }, - * }); + * const res = await networkconnectivity.projects.locations.spokes.get({ + * // Required. The name of the spoke resource. + * name: 'projects/my-project/locations/my-location/spokes/my-spoke', + * }); * console.log(res.data); * * // Example response * // { - * // "permissions": [] + * // "createTime": "my_createTime", + * // "description": "my_description", + * // "etag": "my_etag", + * // "fieldPathsPendingUpdate": [], + * // "group": "my_group", + * // "hub": "my_hub", + * // "labels": {}, + * // "linkedInterconnectAttachments": {}, + * // "linkedProducerVpcNetwork": {}, + * // "linkedRouterApplianceInstances": {}, + * // "linkedVpcNetwork": {}, + * // "linkedVpnTunnels": {}, + * // "name": "my_name", + * // "reasons": [], + * // "spokeType": "my_spokeType", + * // "state": "my_state", + * // "uniqueId": "my_uniqueId", + * // "updateTime": "my_updateTime" * // } * } * @@ -19278,221 +18052,89 @@ export namespace networkconnectivity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - testIamPermissions( - params: Params$Resource$Projects$Locations$Spokes$Testiampermissions, + get( + params: Params$Resource$Projects$Locations$Spokes$Get, options: StreamMethodOptions ): Promise>; - testIamPermissions( - params?: Params$Resource$Projects$Locations$Spokes$Testiampermissions, + get( + params?: Params$Resource$Projects$Locations$Spokes$Get, options?: MethodOptions - ): Promise>; - testIamPermissions( - params: Params$Resource$Projects$Locations$Spokes$Testiampermissions, + ): Promise>; + get( + params: Params$Resource$Projects$Locations$Spokes$Get, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - testIamPermissions( - params: Params$Resource$Projects$Locations$Spokes$Testiampermissions, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - testIamPermissions( - params: Params$Resource$Projects$Locations$Spokes$Testiampermissions, - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Spokes$Get, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - testIamPermissions( - callback: BodyResponseCallback + get( + params: Params$Resource$Projects$Locations$Spokes$Get, + callback: BodyResponseCallback ): void; - testIamPermissions( + get(callback: BodyResponseCallback): void; + get( paramsOrCallback?: - | Params$Resource$Projects$Locations$Spokes$Testiampermissions - | BodyResponseCallback + | Params$Resource$Projects$Locations$Spokes$Get + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> - | Promise> { - let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Spokes$Testiampermissions; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = - {} as Params$Resource$Projects$Locations$Spokes$Testiampermissions; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://networkconnectivity.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace( - /([^:]\/)\/+/g, - '$1' - ), - method: 'POST', - apiVersion: '', - }, - options - ), - params, - requiredParams: ['resource'], - pathParams: ['resource'], - context: this.context, - }; - if (callback) { - createAPIRequest( - parameters, - callback as BodyResponseCallback - ); - } else { - return createAPIRequest(parameters); - } - } - } - - export interface Params$Resource$Projects$Locations$Spokes$Create - extends StandardParameters { - /** - * Required. The parent resource. - */ - parent?: string; - /** - * Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - requestId?: string; - /** - * Required. Unique id for the spoke to create. - */ - spokeId?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$Spoke; - } - export interface Params$Resource$Projects$Locations$Spokes$Delete - extends StandardParameters { - /** - * Required. The name of the spoke to delete. - */ - name?: string; - /** - * Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - requestId?: string; - } - export interface Params$Resource$Projects$Locations$Spokes$Get - extends StandardParameters { - /** - * Required. The name of the spoke resource. - */ - name?: string; - } - export interface Params$Resource$Projects$Locations$Spokes$Getiampolicy - extends StandardParameters { - /** - * Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). - */ - 'options.requestedPolicyVersion'?: number; - /** - * REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - */ - resource?: string; - } - export interface Params$Resource$Projects$Locations$Spokes$List - extends StandardParameters { - /** - * An expression that filters the list of results. - */ - filter?: string; - /** - * Sort the results by a certain order. - */ - orderBy?: string; - /** - * The maximum number of results to return per page. - */ - pageSize?: number; - /** - * The page token. - */ - pageToken?: string; - /** - * Required. The parent resource. - */ - parent?: string; - } - export interface Params$Resource$Projects$Locations$Spokes$Patch - extends StandardParameters { - /** - * Immutable. The name of the spoke. Spoke names must be unique. They use the following form: `projects/{project_number\}/locations/{region\}/spokes/{spoke_id\}` - */ - name?: string; - /** - * Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - */ - requestId?: string; - /** - * Optional. In the case of an update to an existing spoke, field mask is used to specify the fields to be overwritten. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not provide a mask, then all fields are overwritten. - */ - updateMask?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$Spoke; - } - export interface Params$Resource$Projects$Locations$Spokes$Setiampolicy - extends StandardParameters { - /** - * REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - */ - resource?: string; + | Promise> + | Promise> { + let params = (paramsOrCallback || + {}) as Params$Resource$Projects$Locations$Spokes$Get; + let options = (optionsOrCallback || {}) as MethodOptions; - /** - * Request body metadata - */ - requestBody?: Schema$SetIamPolicyRequest; - } - export interface Params$Resource$Projects$Locations$Spokes$Testiampermissions - extends StandardParameters { - /** - * REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. - */ - resource?: string; + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Projects$Locations$Spokes$Get; + options = {}; + } - /** - * Request body metadata - */ - requestBody?: Schema$TestIamPermissionsRequest; - } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } - export class Resource$Projects$Locations$Transports { - context: APIRequestContext; - constructor(context: APIRequestContext) { - this.context = context; + const rootUrl = + options.rootUrl || 'https://networkconnectivity.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + apiVersion: '', + }, + options + ), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + createAPIRequest( + parameters, + callback as BodyResponseCallback + ); + } else { + return createAPIRequest(parameters); + } } /** - * Creates a new Transport in a given project and location. + * Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. * @example * ```js * // Before running the sample: @@ -19521,46 +18163,20 @@ export namespace networkconnectivity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await networkconnectivity.projects.locations.transports.create({ - * // Required. Value for parent. - * parent: 'projects/my-project/locations/my-location', - * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - * requestId: 'placeholder-value', - * // Required. Id of the requesting object - * transportId: 'placeholder-value', - * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "adminEnabled": false, - * // "advertisedRoutes": [], - * // "bandwidth": "my_bandwidth", - * // "createTime": "my_createTime", - * // "description": "my_description", - * // "generatedActivationKey": "my_generatedActivationKey", - * // "labels": {}, - * // "mtuLimit": 0, - * // "name": "my_name", - * // "network": "my_network", - * // "providedActivationKey": "my_providedActivationKey", - * // "region": "my_region", - * // "remoteProfile": "my_remoteProfile", - * // "stackType": "my_stackType", - * // "state": "my_state", - * // "updateTime": "my_updateTime" - * // } - * }, + * const res = await networkconnectivity.projects.locations.spokes.getIamPolicy({ + * // Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + * 'options.requestedPolicyVersion': 'placeholder-value', + * // REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + * resource: 'projects/my-project/locations/my-location/spokes/my-spoke', * }); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, - * // "name": "my_name", - * // "response": {} + * // "auditConfigs": [], + * // "bindings": [], + * // "etag": "my_etag", + * // "version": 0 * // } * } * @@ -19576,57 +18192,53 @@ export namespace networkconnectivity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - create( - params: Params$Resource$Projects$Locations$Transports$Create, + getIamPolicy( + params: Params$Resource$Projects$Locations$Spokes$Getiampolicy, options: StreamMethodOptions ): Promise>; - create( - params?: Params$Resource$Projects$Locations$Transports$Create, + getIamPolicy( + params?: Params$Resource$Projects$Locations$Spokes$Getiampolicy, options?: MethodOptions - ): Promise>; - create( - params: Params$Resource$Projects$Locations$Transports$Create, + ): Promise>; + getIamPolicy( + params: Params$Resource$Projects$Locations$Spokes$Getiampolicy, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - create( - params: Params$Resource$Projects$Locations$Transports$Create, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - create( - params: Params$Resource$Projects$Locations$Transports$Create, - callback: BodyResponseCallback + getIamPolicy( + params: Params$Resource$Projects$Locations$Spokes$Getiampolicy, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - create( - callback: BodyResponseCallback + getIamPolicy( + params: Params$Resource$Projects$Locations$Spokes$Getiampolicy, + callback: BodyResponseCallback ): void; - create( + getIamPolicy(callback: BodyResponseCallback): void; + getIamPolicy( paramsOrCallback?: - | Params$Resource$Projects$Locations$Transports$Create - | BodyResponseCallback + | Params$Resource$Projects$Locations$Spokes$Getiampolicy + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Transports$Create; + {}) as Params$Resource$Projects$Locations$Spokes$Getiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Transports$Create; + params = {} as Params$Resource$Projects$Locations$Spokes$Getiampolicy; options = {}; } @@ -19640,32 +18252,32 @@ export namespace networkconnectivity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/transports').replace( + url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace( /([^:]\/)\/+/g, '$1' ), - method: 'POST', + method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['parent'], - pathParams: ['parent'], + requiredParams: ['resource'], + pathParams: ['resource'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Deletes a single Transport. + * Lists the Network Connectivity Center spokes in a specified project and location. * @example * ```js * // Before running the sample: @@ -19694,21 +18306,25 @@ export namespace networkconnectivity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await networkconnectivity.projects.locations.transports.delete({ - * // Required. Name of the resource. - * name: 'projects/my-project/locations/my-location/transports/my-transport', - * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - * requestId: 'placeholder-value', + * const res = await networkconnectivity.projects.locations.spokes.list({ + * // An expression that filters the list of results. + * filter: 'placeholder-value', + * // Sort the results by a certain order. + * orderBy: 'placeholder-value', + * // The maximum number of results to return per page. + * pageSize: 'placeholder-value', + * // The page token. + * pageToken: 'placeholder-value', + * // Required. The parent resource. + * parent: 'projects/my-project/locations/my-location', * }); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, - * // "name": "my_name", - * // "response": {} + * // "nextPageToken": "my_nextPageToken", + * // "spokes": [], + * // "unreachable": [] * // } * } * @@ -19724,57 +18340,53 @@ export namespace networkconnectivity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - delete( - params: Params$Resource$Projects$Locations$Transports$Delete, + list( + params: Params$Resource$Projects$Locations$Spokes$List, options: StreamMethodOptions ): Promise>; - delete( - params?: Params$Resource$Projects$Locations$Transports$Delete, + list( + params?: Params$Resource$Projects$Locations$Spokes$List, options?: MethodOptions - ): Promise>; - delete( - params: Params$Resource$Projects$Locations$Transports$Delete, + ): Promise>; + list( + params: Params$Resource$Projects$Locations$Spokes$List, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - delete( - params: Params$Resource$Projects$Locations$Transports$Delete, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback - ): void; - delete( - params: Params$Resource$Projects$Locations$Transports$Delete, - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Spokes$List, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - delete( - callback: BodyResponseCallback + list( + params: Params$Resource$Projects$Locations$Spokes$List, + callback: BodyResponseCallback ): void; - delete( + list(callback: BodyResponseCallback): void; + list( paramsOrCallback?: - | Params$Resource$Projects$Locations$Transports$Delete - | BodyResponseCallback + | Params$Resource$Projects$Locations$Spokes$List + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Transports$Delete; + {}) as Params$Resource$Projects$Locations$Spokes$List; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Transports$Delete; + params = {} as Params$Resource$Projects$Locations$Spokes$List; options = {}; } @@ -19788,29 +18400,32 @@ export namespace networkconnectivity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'DELETE', + url: (rootUrl + '/v1/{+parent}/spokes').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'GET', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['parent'], + pathParams: ['parent'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Gets details of a single Transport. + * Updates the parameters of a Network Connectivity Center spoke. * @example * ```js * // Before running the sample: @@ -19839,30 +18454,48 @@ export namespace networkconnectivity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await networkconnectivity.projects.locations.transports.get({ - * // Required. Name of the resource. - * name: 'projects/my-project/locations/my-location/transports/my-transport', + * const res = await networkconnectivity.projects.locations.spokes.patch({ + * // Immutable. The name of the spoke. Spoke names must be unique. They use the following form: `projects/{project_number\}/locations/{region\}/spokes/{spoke_id\}` + * name: 'projects/my-project/locations/my-location/spokes/my-spoke', + * // Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * requestId: 'placeholder-value', + * // Optional. In the case of an update to an existing spoke, field mask is used to specify the fields to be overwritten. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not provide a mask, then all fields are overwritten. + * updateMask: 'placeholder-value', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "createTime": "my_createTime", + * // "description": "my_description", + * // "etag": "my_etag", + * // "fieldPathsPendingUpdate": [], + * // "group": "my_group", + * // "hub": "my_hub", + * // "labels": {}, + * // "linkedInterconnectAttachments": {}, + * // "linkedProducerVpcNetwork": {}, + * // "linkedRouterApplianceInstances": {}, + * // "linkedVpcNetwork": {}, + * // "linkedVpnTunnels": {}, + * // "name": "my_name", + * // "reasons": [], + * // "spokeType": "my_spokeType", + * // "state": "my_state", + * // "uniqueId": "my_uniqueId", + * // "updateTime": "my_updateTime" + * // } + * }, * }); * console.log(res.data); * * // Example response * // { - * // "adminEnabled": false, - * // "advertisedRoutes": [], - * // "bandwidth": "my_bandwidth", - * // "createTime": "my_createTime", - * // "description": "my_description", - * // "generatedActivationKey": "my_generatedActivationKey", - * // "labels": {}, - * // "mtuLimit": 0, + * // "done": false, + * // "error": {}, + * // "metadata": {}, * // "name": "my_name", - * // "network": "my_network", - * // "providedActivationKey": "my_providedActivationKey", - * // "region": "my_region", - * // "remoteProfile": "my_remoteProfile", - * // "stackType": "my_stackType", - * // "state": "my_state", - * // "updateTime": "my_updateTime" + * // "response": {} * // } * } * @@ -19878,53 +18511,57 @@ export namespace networkconnectivity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - get( - params: Params$Resource$Projects$Locations$Transports$Get, + patch( + params: Params$Resource$Projects$Locations$Spokes$Patch, options: StreamMethodOptions ): Promise>; - get( - params?: Params$Resource$Projects$Locations$Transports$Get, + patch( + params?: Params$Resource$Projects$Locations$Spokes$Patch, options?: MethodOptions - ): Promise>; - get( - params: Params$Resource$Projects$Locations$Transports$Get, + ): Promise>; + patch( + params: Params$Resource$Projects$Locations$Spokes$Patch, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Transports$Get, - options: MethodOptions | BodyResponseCallback, - callback: BodyResponseCallback + patch( + params: Params$Resource$Projects$Locations$Spokes$Patch, + options: + | MethodOptions + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - get( - params: Params$Resource$Projects$Locations$Transports$Get, - callback: BodyResponseCallback + patch( + params: Params$Resource$Projects$Locations$Spokes$Patch, + callback: BodyResponseCallback ): void; - get(callback: BodyResponseCallback): void; - get( + patch( + callback: BodyResponseCallback + ): void; + patch( paramsOrCallback?: - | Params$Resource$Projects$Locations$Transports$Get - | BodyResponseCallback + | Params$Resource$Projects$Locations$Spokes$Patch + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Transports$Get; + {}) as Params$Resource$Projects$Locations$Spokes$Patch; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Transports$Get; + params = {} as Params$Resource$Projects$Locations$Spokes$Patch; options = {}; } @@ -19939,7 +18576,7 @@ export namespace networkconnectivity_v1 { options: Object.assign( { url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'GET', + method: 'PATCH', apiVersion: '', }, options @@ -19950,17 +18587,17 @@ export namespace networkconnectivity_v1 { context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Lists Transports in a given project and location. + * Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. * @example * ```js * // Before running the sample: @@ -19989,25 +18626,27 @@ export namespace networkconnectivity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await networkconnectivity.projects.locations.transports.list({ - * // Optional. Filtering results. - * filter: 'placeholder-value', - * // Optional. Hint for how to order the results. - * orderBy: 'placeholder-value', - * // Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. - * pageSize: 'placeholder-value', - * // Optional. A token identifying a page of results the server should return. - * pageToken: 'placeholder-value', - * // Required. Parent value for ListTransportsRequest. - * parent: 'projects/my-project/locations/my-location', + * const res = await networkconnectivity.projects.locations.spokes.setIamPolicy({ + * // REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + * resource: 'projects/my-project/locations/my-location/spokes/my-spoke', + * + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "policy": {}, + * // "updateMask": "my_updateMask" + * // } + * }, * }); * console.log(res.data); * * // Example response * // { - * // "nextPageToken": "my_nextPageToken", - * // "transports": [], - * // "unreachable": [] + * // "auditConfigs": [], + * // "bindings": [], + * // "etag": "my_etag", + * // "version": 0 * // } * } * @@ -20023,55 +18662,53 @@ export namespace networkconnectivity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - list( - params: Params$Resource$Projects$Locations$Transports$List, + setIamPolicy( + params: Params$Resource$Projects$Locations$Spokes$Setiampolicy, options: StreamMethodOptions ): Promise>; - list( - params?: Params$Resource$Projects$Locations$Transports$List, + setIamPolicy( + params?: Params$Resource$Projects$Locations$Spokes$Setiampolicy, options?: MethodOptions - ): Promise>; - list( - params: Params$Resource$Projects$Locations$Transports$List, + ): Promise>; + setIamPolicy( + params: Params$Resource$Projects$Locations$Spokes$Setiampolicy, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$Transports$List, - options: - | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + setIamPolicy( + params: Params$Resource$Projects$Locations$Spokes$Setiampolicy, + options: MethodOptions | BodyResponseCallback, + callback: BodyResponseCallback ): void; - list( - params: Params$Resource$Projects$Locations$Transports$List, - callback: BodyResponseCallback + setIamPolicy( + params: Params$Resource$Projects$Locations$Spokes$Setiampolicy, + callback: BodyResponseCallback ): void; - list(callback: BodyResponseCallback): void; - list( + setIamPolicy(callback: BodyResponseCallback): void; + setIamPolicy( paramsOrCallback?: - | Params$Resource$Projects$Locations$Transports$List - | BodyResponseCallback + | Params$Resource$Projects$Locations$Spokes$Setiampolicy + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Transports$List; + {}) as Params$Resource$Projects$Locations$Spokes$Setiampolicy; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Transports$List; + params = {} as Params$Resource$Projects$Locations$Spokes$Setiampolicy; options = {}; } @@ -20085,32 +18722,32 @@ export namespace networkconnectivity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+parent}/transports').replace( + url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace( /([^:]\/)\/+/g, '$1' ), - method: 'GET', + method: 'POST', apiVersion: '', }, options ), params, - requiredParams: ['parent'], - pathParams: ['parent'], + requiredParams: ['resource'], + pathParams: ['resource'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } /** - * Updates the parameters of a single Transport. + * Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. * @example * ```js * // Before running the sample: @@ -20139,46 +18776,24 @@ export namespace networkconnectivity_v1 { * google.options({auth: authClient}); * * // Do the magic - * const res = await networkconnectivity.projects.locations.transports.patch({ - * // Identifier. Name of the resource, see google.aip.dev/122 for resource naming. - * name: 'projects/my-project/locations/my-location/transports/my-transport', - * // Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). - * requestId: 'placeholder-value', - * // Optional. Field mask is used to specify the fields to be overwritten in the Transport resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields present in the request will be overwritten. - * updateMask: 'placeholder-value', + * const res = + * await networkconnectivity.projects.locations.spokes.testIamPermissions({ + * // REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + * resource: 'projects/my-project/locations/my-location/spokes/my-spoke', * - * // Request body metadata - * requestBody: { - * // request body parameters - * // { - * // "adminEnabled": false, - * // "advertisedRoutes": [], - * // "bandwidth": "my_bandwidth", - * // "createTime": "my_createTime", - * // "description": "my_description", - * // "generatedActivationKey": "my_generatedActivationKey", - * // "labels": {}, - * // "mtuLimit": 0, - * // "name": "my_name", - * // "network": "my_network", - * // "providedActivationKey": "my_providedActivationKey", - * // "region": "my_region", - * // "remoteProfile": "my_remoteProfile", - * // "stackType": "my_stackType", - * // "state": "my_state", - * // "updateTime": "my_updateTime" - * // } - * }, - * }); + * // Request body metadata + * requestBody: { + * // request body parameters + * // { + * // "permissions": [] + * // } + * }, + * }); * console.log(res.data); * * // Example response * // { - * // "done": false, - * // "error": {}, - * // "metadata": {}, - * // "name": "my_name", - * // "response": {} + * // "permissions": [] * // } * } * @@ -20194,57 +18809,58 @@ export namespace networkconnectivity_v1 { * @param callback - Optional callback that handles the response. * @returns A promise if used with async/await, or void if used with a callback. */ - patch( - params: Params$Resource$Projects$Locations$Transports$Patch, + testIamPermissions( + params: Params$Resource$Projects$Locations$Spokes$Testiampermissions, options: StreamMethodOptions ): Promise>; - patch( - params?: Params$Resource$Projects$Locations$Transports$Patch, + testIamPermissions( + params?: Params$Resource$Projects$Locations$Spokes$Testiampermissions, options?: MethodOptions - ): Promise>; - patch( - params: Params$Resource$Projects$Locations$Transports$Patch, + ): Promise>; + testIamPermissions( + params: Params$Resource$Projects$Locations$Spokes$Testiampermissions, options: StreamMethodOptions | BodyResponseCallback, callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Projects$Locations$Transports$Patch, + testIamPermissions( + params: Params$Resource$Projects$Locations$Spokes$Testiampermissions, options: | MethodOptions - | BodyResponseCallback, - callback: BodyResponseCallback + | BodyResponseCallback, + callback: BodyResponseCallback ): void; - patch( - params: Params$Resource$Projects$Locations$Transports$Patch, - callback: BodyResponseCallback + testIamPermissions( + params: Params$Resource$Projects$Locations$Spokes$Testiampermissions, + callback: BodyResponseCallback ): void; - patch( - callback: BodyResponseCallback + testIamPermissions( + callback: BodyResponseCallback ): void; - patch( + testIamPermissions( paramsOrCallback?: - | Params$Resource$Projects$Locations$Transports$Patch - | BodyResponseCallback + | Params$Resource$Projects$Locations$Spokes$Testiampermissions + | BodyResponseCallback | BodyResponseCallback, optionsOrCallback?: | MethodOptions | StreamMethodOptions - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback, callback?: - | BodyResponseCallback + | BodyResponseCallback | BodyResponseCallback ): | void - | Promise> + | Promise> | Promise> { let params = (paramsOrCallback || - {}) as Params$Resource$Projects$Locations$Transports$Patch; + {}) as Params$Resource$Projects$Locations$Spokes$Testiampermissions; let options = (optionsOrCallback || {}) as MethodOptions; if (typeof paramsOrCallback === 'function') { callback = paramsOrCallback; - params = {} as Params$Resource$Projects$Locations$Transports$Patch; + params = + {} as Params$Resource$Projects$Locations$Spokes$Testiampermissions; options = {}; } @@ -20258,107 +18874,145 @@ export namespace networkconnectivity_v1 { const parameters = { options: Object.assign( { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'PATCH', + url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace( + /([^:]\/)\/+/g, + '$1' + ), + method: 'POST', apiVersion: '', }, options ), params, - requiredParams: ['name'], - pathParams: ['name'], + requiredParams: ['resource'], + pathParams: ['resource'], context: this.context, }; if (callback) { - createAPIRequest( + createAPIRequest( parameters, callback as BodyResponseCallback ); } else { - return createAPIRequest(parameters); + return createAPIRequest(parameters); } } } - export interface Params$Resource$Projects$Locations$Transports$Create + export interface Params$Resource$Projects$Locations$Spokes$Create extends StandardParameters { /** - * Required. Value for parent. + * Required. The parent resource. */ parent?: string; /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */ requestId?: string; /** - * Required. Id of the requesting object + * Required. Unique id for the spoke to create. */ - transportId?: string; + spokeId?: string; /** * Request body metadata */ - requestBody?: Schema$Transport; + requestBody?: Schema$Spoke; } - export interface Params$Resource$Projects$Locations$Transports$Delete + export interface Params$Resource$Projects$Locations$Spokes$Delete extends StandardParameters { /** - * Required. Name of the resource. + * Required. The name of the spoke to delete. */ name?: string; /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */ requestId?: string; } - export interface Params$Resource$Projects$Locations$Transports$Get + export interface Params$Resource$Projects$Locations$Spokes$Get extends StandardParameters { /** - * Required. Name of the resource. + * Required. The name of the spoke resource. */ name?: string; } - export interface Params$Resource$Projects$Locations$Transports$List + export interface Params$Resource$Projects$Locations$Spokes$Getiampolicy + extends StandardParameters { + /** + * Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). + */ + 'options.requestedPolicyVersion'?: number; + /** + * REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + */ + resource?: string; + } + export interface Params$Resource$Projects$Locations$Spokes$List extends StandardParameters { /** - * Optional. Filtering results. + * An expression that filters the list of results. */ filter?: string; /** - * Optional. Hint for how to order the results. + * Sort the results by a certain order. */ orderBy?: string; /** - * Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. + * The maximum number of results to return per page. */ pageSize?: number; /** - * Optional. A token identifying a page of results the server should return. + * The page token. */ pageToken?: string; /** - * Required. Parent value for ListTransportsRequest. + * Required. The parent resource. */ parent?: string; } - export interface Params$Resource$Projects$Locations$Transports$Patch + export interface Params$Resource$Projects$Locations$Spokes$Patch extends StandardParameters { /** - * Identifier. Name of the resource, see google.aip.dev/122 for resource naming. + * Immutable. The name of the spoke. Spoke names must be unique. They use the following form: `projects/{project_number\}/locations/{region\}/spokes/{spoke_id\}` */ name?: string; /** - * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server knows to ignore the request if it has already been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */ requestId?: string; /** - * Optional. Field mask is used to specify the fields to be overwritten in the Transport resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields present in the request will be overwritten. + * Optional. In the case of an update to an existing spoke, field mask is used to specify the fields to be overwritten. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten if it is in the mask. If the user does not provide a mask, then all fields are overwritten. */ updateMask?: string; /** * Request body metadata */ - requestBody?: Schema$Transport; + requestBody?: Schema$Spoke; + } + export interface Params$Resource$Projects$Locations$Spokes$Setiampolicy + extends StandardParameters { + /** + * REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + */ + resource?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$SetIamPolicyRequest; + } + export interface Params$Resource$Projects$Locations$Spokes$Testiampermissions + extends StandardParameters { + /** + * REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. + */ + resource?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$TestIamPermissionsRequest; } } diff --git a/src/apis/notebooks/v1.ts b/src/apis/notebooks/v1.ts index f6df9335a71..71f296945b4 100644 --- a/src/apis/notebooks/v1.ts +++ b/src/apis/notebooks/v1.ts @@ -780,6 +780,10 @@ export namespace notebooks_v1 { * A list of operations that matches the specified filter in the request. */ operations?: Schema$Operation[]; + /** + * Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations. + */ + unreachable?: string[] | null; } /** * Response for listing Managed Notebook Runtimes. @@ -1957,7 +1961,7 @@ export namespace notebooks_v1 { * * // Do the magic * const res = await notebooks.projects.locations.list({ - * // Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations. + * // Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage. * extraLocationTypes: 'placeholder-value', * // A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). * filter: 'placeholder-value', @@ -2085,7 +2089,7 @@ export namespace notebooks_v1 { export interface Params$Resource$Projects$Locations$List extends StandardParameters { /** - * Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations. + * Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage. */ extraLocationTypes?: string[]; /** @@ -8073,13 +8077,16 @@ export namespace notebooks_v1 { * pageSize: 'placeholder-value', * // The standard list page token. * pageToken: 'placeholder-value', + * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + * returnPartialSuccess: 'placeholder-value', * }); * console.log(res.data); * * // Example response * // { * // "nextPageToken": "my_nextPageToken", - * // "operations": [] + * // "operations": [], + * // "unreachable": [] * // } * } * @@ -8225,6 +8232,10 @@ export namespace notebooks_v1 { * The standard list page token. */ pageToken?: string; + /** + * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + */ + returnPartialSuccess?: boolean; } export class Resource$Projects$Locations$Runtimes { diff --git a/src/apis/notebooks/v2.ts b/src/apis/notebooks/v2.ts index a7887e91acc..d2facee22d8 100644 --- a/src/apis/notebooks/v2.ts +++ b/src/apis/notebooks/v2.ts @@ -298,6 +298,10 @@ export namespace notebooks_v2 { * Optional. Input only. The KMS key used to encrypt the disks, only applicable if disk_encryption is CMEK. Format: `projects/{project_id\}/locations/{location\}/keyRings/{key_ring_id\}/cryptoKeys/{key_id\}` Learn more about using your own encryption keys. */ kmsKey?: string | null; + /** + * Optional. The resource policies to apply to the data disk. + */ + resourcePolicies?: string[] | null; } /** * DefaultValues represents the default configuration values. @@ -570,7 +574,7 @@ export namespace notebooks_v2 { */ labels?: {[key: string]: string} | null; /** - * Output only. The name of this notebook instance. Format: `projects/{project_id\}/locations/{location\}/instances/{instance_id\}` + * Output only. Identifier. The name of this notebook instance. Format: `projects/{project_id\}/locations/{location\}/instances/{instance_id\}` */ name?: string | null; /** @@ -644,6 +648,10 @@ export namespace notebooks_v2 { * A list of operations that matches the specified filter in the request. */ operations?: Schema$Operation[]; + /** + * Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations. + */ + unreachable?: string[] | null; } /** * A resource that represents a Google Cloud location. @@ -1209,7 +1217,7 @@ export namespace notebooks_v2 { * * // Do the magic * const res = await notebooks.projects.locations.list({ - * // Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations. + * // Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage. * extraLocationTypes: 'placeholder-value', * // A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). * filter: 'placeholder-value', @@ -1337,7 +1345,7 @@ export namespace notebooks_v2 { export interface Params$Resource$Projects$Locations$List extends StandardParameters { /** - * Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations. + * Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage. */ extraLocationTypes?: string[]; /** @@ -2897,7 +2905,7 @@ export namespace notebooks_v2 { * * // Do the magic * const res = await notebooks.projects.locations.instances.patch({ - * // Output only. The name of this notebook instance. Format: `projects/{project_id\}/locations/{location\}/instances/{instance_id\}` + * // Output only. Identifier. The name of this notebook instance. Format: `projects/{project_id\}/locations/{location\}/instances/{instance_id\}` * name: 'projects/my-project/locations/my-location/instances/my-instance', * // Optional. Idempotent request UUID. * requestId: 'placeholder-value', @@ -4789,7 +4797,7 @@ export namespace notebooks_v2 { export interface Params$Resource$Projects$Locations$Instances$Patch extends StandardParameters { /** - * Output only. The name of this notebook instance. Format: `projects/{project_id\}/locations/{location\}/instances/{instance_id\}` + * Output only. Identifier. The name of this notebook instance. Format: `projects/{project_id\}/locations/{location\}/instances/{instance_id\}` */ name?: string; /** @@ -5392,13 +5400,16 @@ export namespace notebooks_v2 { * pageSize: 'placeholder-value', * // The standard list page token. * pageToken: 'placeholder-value', + * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + * returnPartialSuccess: 'placeholder-value', * }); * console.log(res.data); * * // Example response * // { * // "nextPageToken": "my_nextPageToken", - * // "operations": [] + * // "operations": [], + * // "unreachable": [] * // } * } * @@ -5544,5 +5555,9 @@ export namespace notebooks_v2 { * The standard list page token. */ pageToken?: string; + /** + * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + */ + returnPartialSuccess?: boolean; } } diff --git a/src/apis/recommendationengine/v1beta1.ts b/src/apis/recommendationengine/v1beta1.ts index b9bf96085e3..40290f12b47 100644 --- a/src/apis/recommendationengine/v1beta1.ts +++ b/src/apis/recommendationengine/v1beta1.ts @@ -958,6 +958,10 @@ export namespace recommendationengine_v1beta1 { * A list of operations that matches the specified filter in the request. */ operations?: Schema$GoogleLongrunningOperation[]; + /** + * Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations. + */ + unreachable?: string[] | null; } /** * This resource represents a long-running operation that is the result of a network API call. @@ -2644,6 +2648,8 @@ export namespace recommendationengine_v1beta1 { * pageSize: 'placeholder-value', * // The standard list page token. * pageToken: 'placeholder-value', + * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + * returnPartialSuccess: 'placeholder-value', * }, * ); * console.log(res.data); @@ -2651,7 +2657,8 @@ export namespace recommendationengine_v1beta1 { * // Example response * // { * // "nextPageToken": "my_nextPageToken", - * // "operations": [] + * // "operations": [], + * // "unreachable": [] * // } * } * @@ -2788,6 +2795,10 @@ export namespace recommendationengine_v1beta1 { * The standard list page token. */ pageToken?: string; + /** + * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + */ + returnPartialSuccess?: boolean; } export class Resource$Projects$Locations$Catalogs$Eventstores$Placements { @@ -4723,13 +4734,16 @@ export namespace recommendationengine_v1beta1 { * pageSize: 'placeholder-value', * // The standard list page token. * pageToken: 'placeholder-value', + * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + * returnPartialSuccess: 'placeholder-value', * }); * console.log(res.data); * * // Example response * // { * // "nextPageToken": "my_nextPageToken", - * // "operations": [] + * // "operations": [], + * // "unreachable": [] * // } * } * @@ -4866,5 +4880,9 @@ export namespace recommendationengine_v1beta1 { * The standard list page token. */ pageToken?: string; + /** + * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + */ + returnPartialSuccess?: boolean; } } diff --git a/src/apis/redis/v1.ts b/src/apis/redis/v1.ts index 0f3c215cecb..e39f60ffb36 100644 --- a/src/apis/redis/v1.ts +++ b/src/apis/redis/v1.ts @@ -1503,6 +1503,10 @@ export namespace redis_v1 { * A list of operations that matches the specified filter in the request. */ operations?: Schema$Operation[]; + /** + * Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations. + */ + unreachable?: string[] | null; } /** * A resource that represents a Google Cloud location. @@ -1983,13 +1987,17 @@ export namespace redis_v1 { */ day?: string | null; /** - * Optional. Phase of the maintenance window. This is to capture order of maintenance. For example, for Cloud SQL resources, this can be used to capture if the maintenance window is in Week1, Week2, Week5, etc. Non production resources are usually part of early phase. For more details, refer to Cloud SQL resources - https://cloud.google.com/sql/docs/mysql/maintenance + * Optional. Phase of the maintenance window. This is to capture order of maintenance. For example, for Cloud SQL resources, this can be used to capture if the maintenance window is in Week1, Week2, Week5, etc. Non production resources are usually part of early phase. For more details, refer to Cloud SQL resources - https://cloud.google.com/sql/docs/mysql/maintenance Deprecated. Use phase instead. */ phase?: string | null; /** * Optional. Preferred time to start the maintenance operation on the specified day. */ time?: Schema$TimeOfDay; + /** + * Optional. Phase of the maintenance window. This is to capture order of maintenance. For example, for Cloud SQL resources, this can be used to capture if the maintenance window is in Week1, Week2, Week5, etc. Non production resources are usually part of early phase. For more details, refer to Cloud SQL resources - https://cloud.google.com/sql/docs/mysql/maintenance + */ + week?: string | null; } export interface Schema$RetentionSettings { /** @@ -7162,13 +7170,16 @@ export namespace redis_v1 { * pageSize: 'placeholder-value', * // The standard list page token. * pageToken: 'placeholder-value', + * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + * returnPartialSuccess: 'placeholder-value', * }); * console.log(res.data); * * // Example response * // { * // "nextPageToken": "my_nextPageToken", - * // "operations": [] + * // "operations": [], + * // "unreachable": [] * // } * } * @@ -7309,5 +7320,9 @@ export namespace redis_v1 { * The standard list page token. */ pageToken?: string; + /** + * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + */ + returnPartialSuccess?: boolean; } } diff --git a/src/apis/redis/v1beta1.ts b/src/apis/redis/v1beta1.ts index fdff34891c0..f3b0a6cd2d2 100644 --- a/src/apis/redis/v1beta1.ts +++ b/src/apis/redis/v1beta1.ts @@ -1503,6 +1503,10 @@ export namespace redis_v1beta1 { * A list of operations that matches the specified filter in the request. */ operations?: Schema$Operation[]; + /** + * Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations. + */ + unreachable?: string[] | null; } /** * A resource that represents a Google Cloud location. @@ -1983,13 +1987,17 @@ export namespace redis_v1beta1 { */ day?: string | null; /** - * Optional. Phase of the maintenance window. This is to capture order of maintenance. For example, for Cloud SQL resources, this can be used to capture if the maintenance window is in Week1, Week2, Week5, etc. Non production resources are usually part of early phase. For more details, refer to Cloud SQL resources - https://cloud.google.com/sql/docs/mysql/maintenance + * Optional. Phase of the maintenance window. This is to capture order of maintenance. For example, for Cloud SQL resources, this can be used to capture if the maintenance window is in Week1, Week2, Week5, etc. Non production resources are usually part of early phase. For more details, refer to Cloud SQL resources - https://cloud.google.com/sql/docs/mysql/maintenance Deprecated. Use phase instead. */ phase?: string | null; /** * Optional. Preferred time to start the maintenance operation on the specified day. */ time?: Schema$TimeOfDay; + /** + * Optional. Phase of the maintenance window. This is to capture order of maintenance. For example, for Cloud SQL resources, this can be used to capture if the maintenance window is in Week1, Week2, Week5, etc. Non production resources are usually part of early phase. For more details, refer to Cloud SQL resources - https://cloud.google.com/sql/docs/mysql/maintenance + */ + week?: string | null; } export interface Schema$RetentionSettings { /** @@ -7176,13 +7184,16 @@ export namespace redis_v1beta1 { * pageSize: 'placeholder-value', * // The standard list page token. * pageToken: 'placeholder-value', + * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + * returnPartialSuccess: 'placeholder-value', * }); * console.log(res.data); * * // Example response * // { * // "nextPageToken": "my_nextPageToken", - * // "operations": [] + * // "operations": [], + * // "unreachable": [] * // } * } * @@ -7323,5 +7334,9 @@ export namespace redis_v1beta1 { * The standard list page token. */ pageToken?: string; + /** + * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + */ + returnPartialSuccess?: boolean; } } diff --git a/src/apis/storagebatchoperations/v1.ts b/src/apis/storagebatchoperations/v1.ts index 2be4fa15734..d09e8bd0ca4 100644 --- a/src/apis/storagebatchoperations/v1.ts +++ b/src/apis/storagebatchoperations/v1.ts @@ -382,6 +382,19 @@ export namespace storagebatchoperations_v1 { */ manifestLocation?: string | null; } + /** + * Describes options for object retention update. + */ + export interface Schema$ObjectRetention { + /** + * Required. The time when the object will be retained until. UNSET will clear the retention. Must be specified in RFC 3339 format e.g. YYYY-MM-DD'T'HH:MM:SS.SS'Z' or YYYY-MM-DD'T'HH:MM:SS'Z'. + */ + retainUntilTime?: string | null; + /** + * Required. The retention mode of the object. + */ + retentionMode?: string | null; + } /** * This resource represents a long-running operation that is the result of a network API call. */ @@ -477,6 +490,10 @@ export namespace storagebatchoperations_v1 { * Optional. Updates objects Custom-Time fixed metadata. Unset values will be ignored. Set empty values to clear the metadata. Refer to documentation in https://cloud.google.com/storage/docs/metadata#custom-time. */ customTime?: string | null; + /** + * Optional. Updates objects retention lock configuration. Unset values will be ignored. Set empty values to clear the retention for the object with existing `Unlocked` retention mode. Object with existing `Locked` retention mode cannot be cleared or reduce retain_until_time. Refer to documentation in https://cloud.google.com/storage/docs/object-lock + */ + objectRetention?: Schema$ObjectRetention; } /** * Describes options to update object hold. diff --git a/src/apis/texttospeech/v1.ts b/src/apis/texttospeech/v1.ts index 79fa2124ac3..1657c6e2806 100644 --- a/src/apis/texttospeech/v1.ts +++ b/src/apis/texttospeech/v1.ts @@ -138,6 +138,10 @@ export namespace texttospeech_v1 { * Only for Journey voices. If false, the synthesis is context aware and has a higher latency. */ lowLatencyJourneySynthesis?: boolean | null; + /** + * Optional. Input only. If true, relaxes safety filters for Gemini TTS. Only supported for accounts linked to Invoiced (Offline) Cloud billing accounts. Otherwise, will return result google.rpc.Code.INVALID_ARGUMENT. + */ + relaxSafetyFilters?: boolean | null; } /** * Description of audio data to be synthesized. diff --git a/src/apis/texttospeech/v1beta1.ts b/src/apis/texttospeech/v1beta1.ts index 8175af42211..6fe41132e70 100644 --- a/src/apis/texttospeech/v1beta1.ts +++ b/src/apis/texttospeech/v1beta1.ts @@ -136,6 +136,10 @@ export namespace texttospeech_v1beta1 { * Only for Journey voices. If false, the synthesis is context aware and has a higher latency. */ lowLatencyJourneySynthesis?: boolean | null; + /** + * Optional. Input only. If true, relaxes safety filters for Gemini TTS. Only supported for accounts linked to Invoiced (Offline) Cloud billing accounts. Otherwise, will return result google.rpc.Code.INVALID_ARGUMENT. + */ + relaxSafetyFilters?: boolean | null; } /** * Description of audio data to be synthesized. diff --git a/src/apis/vault/v1.ts b/src/apis/vault/v1.ts index 8d0811cbe01..242d34ac66d 100644 --- a/src/apis/vault/v1.ts +++ b/src/apis/vault/v1.ts @@ -807,6 +807,10 @@ export namespace vault_v1 { * A list of operations that matches the specified filter in the request. */ operations?: Schema$Operation[]; + /** + * Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations. + */ + unreachable?: string[] | null; } /** * Definition of the response for method ListSaveQuery. @@ -6333,13 +6337,16 @@ export namespace vault_v1 { * pageSize: 'placeholder-value', * // The standard list page token. * pageToken: 'placeholder-value', + * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + * returnPartialSuccess: 'placeholder-value', * }); * console.log(res.data); * * // Example response * // { * // "nextPageToken": "my_nextPageToken", - * // "operations": [] + * // "operations": [], + * // "unreachable": [] * // } * } * @@ -6479,5 +6486,9 @@ export namespace vault_v1 { * The standard list page token. */ pageToken?: string; + /** + * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. + */ + returnPartialSuccess?: boolean; } } diff --git a/src/index.ts b/src/index.ts index e412015fc02..936a7b1de17 100644 --- a/src/index.ts +++ b/src/index.ts @@ -98,6 +98,7 @@ export {bigquery_v2} from './apis/bigquery/v2'; export {bigqueryconnection_v1} from './apis/bigqueryconnection/v1'; export {bigqueryconnection_v1beta1} from './apis/bigqueryconnection/v1beta1'; export {bigquerydatapolicy_v1} from './apis/bigquerydatapolicy/v1'; +export {bigquerydatapolicy_v2} from './apis/bigquerydatapolicy/v2'; export {bigquerydatatransfer_v1} from './apis/bigquerydatatransfer/v1'; export {bigqueryreservation_v1} from './apis/bigqueryreservation/v1'; export {bigqueryreservation_v1alpha2} from './apis/bigqueryreservation/v1alpha2';